Skip to content

Instantly share code, notes, and snippets.

@tomharrigan
Created February 7, 2014 21:29
Show Gist options
  • Select an option

  • Save tomharrigan/8872284 to your computer and use it in GitHub Desktop.

Select an option

Save tomharrigan/8872284 to your computer and use it in GitHub Desktop.
add_filter('loop_shop_columns', 'loop_columns');
function loop_columns() {
return 2; // 3 products per row
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment