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

Change the number of Projects displayed per row

Add the following to your parent/child themes functions.php file to reposition the first/last classes applied to projects in the projects loop.

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

view raw


hosted with ❤ by GitHub

Remember you will still need to add the CSS to apply the layout.

Note: This is a Developer level doc. If you are unfamiliar with code/templates and resolving potential conflicts, select a WooExpert or Developer for assistance. We are unable to provide support for customizations under our  Support Policy.

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