cannot change number of products per page
-
my current product listing page shows only 5 product per page. I would like to increase the number to 9 or above using this code:
add_filter( ‘loop_shop_per_page’, create_function( ‘$cols’, ‘return 24;’ ), 20 );
However, for some unknown reason it does not work.
Is it because the code is outdated or I’m missing something.
Thanks in advance for your help!
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘cannot change number of products per page’ is closed to new replies.