From 3f4261ede46cf44549408b558da00400aeb8490c Mon Sep 17 00:00:00 2001 From: Laury GvR Date: Tue, 22 Dec 2015 09:55:39 -0500 Subject: [PATCH] More products shown per page. --- functions.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/functions.php b/functions.php index b33bc48..1cb175c 100644 --- a/functions.php +++ b/functions.php @@ -365,4 +365,8 @@ add_action( 'after_setup_theme', 'woocommerce_support' ); function woocommerce_support() { add_theme_support( 'woocommerce' ); } + +// WooCommerce number of products shown +add_filter( 'loop_shop_per_page', create_function( '$cols', 'return 24;' ), 20 ); + ?> -- 2.17.1