Skip to content

Instantly share code, notes, and snippets.

@Shininglow
Created February 14, 2018 14:08
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save Shininglow/102b6f127f9f49bfc3be5adb7d7d744b to your computer and use it in GitHub Desktop.
// Display 25 products per page
add_filter( 'loop_shop_per_page', create_function( '$cols', 'return 12;' ), 20 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment