Only showing 5 products per page
-
Hi,
I have set up a Woocommerce store and while the categories are showing up fine, all my product pages are limited to 5 products per page (before pagination). This is a problem because it is 4 products on the top row, and then one underneath product #1. Therefore customers think there are only 5 products in the category and it isn’t obvious to click to the next page. I would love to change this to 8 or 12 per page.
So far I have tried:
– changing the number of blogs shown in the Settings>Reading section.
– changing the wp-content/themes/yourtheme/functions.php to include the below code:// Display 24 products per page. Goes in functions.php add_filter( 'loop_shop_per_page', create_function( '$cols', 'return 24;' ), 20 );
So far no success. If anyone can help, it would be greatly appreciated.
The theme of this site is Modest (Elegant themes) – and it is what the client wants to keep…https://www.divineyou.co.nz/shop
Thanks
- The topic ‘Only showing 5 products per page’ is closed to new replies.