Skip to content

Instantly share code, notes, and snippets.

@nucab
Forked from jameskoster/functions.php
Last active August 29, 2015 14:25
Show Gist options
  • Save nucab/33df39a59f5e2e2d59f2 to your computer and use it in GitHub Desktop.
Save nucab/33df39a59f5e2e2d59f2 to your computer and use it in GitHub Desktop.
// Display 24 products per page. Goes in functions.php
add_filter( 'loop_shop_per_page', create_function( '$cols', 'return 24;' ), 20 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment