projects
/
WP-Themes
/
glmthemes
/
shipwreck-theme.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c210258
)
More products shown per page.
author
Laury GvR
<laury@gaslightmedia.com>
Tue, 22 Dec 2015 14:55:39 +0000
(09:55 -0500)
committer
Laury GvR
<laury@gaslightmedia.com>
Tue, 22 Dec 2015 14:55:39 +0000
(09:55 -0500)
functions.php
patch
|
blob
|
history
diff --git
a/functions.php
b/functions.php
index
b33bc48
..
1cb175c
100644
(file)
--- 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 );
+
?>