1. Documentation
  2. Plugins
  3. Projects
  4. Codex
  5. Theming

Change the number of project columns on archives

Add the following snippet to your child themes functions.php file to display projects in 3 columns instead of the default 2.

add_filter( 'projects_loop_columns', 'jk_projects_columns', 99 );
function jk_projects_columns( $cols ) {
$cols = 3;
return $cols;

view raw


hosted with ❤ by GitHub

Note: Adding a priority in the snippet is necessary for themes that include their own projects integration.

WooCommerce - the most customizable eCommerce platform for building your online business.

  • 30 day money back guarantee
  • Support teams across the world
  • Safe & Secure online payment