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
functions.php
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.

Back to the top