Change number of products displayed per page (for search results)
-
Hello,
I used the following snippet to change the amount of products displayed on my product-archive pages.
add_filter( 'loop_shop_per_page', create_function( '$cols', 'return 18;' ), 18 );
But my search results page is only displaying 10 results per page.
Anyone know how to change that?Site: https://pmfootwear.com/?s=Imac&post_type=product
Thanks
Joe
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Change number of products displayed per page (for search results)’ is closed to new replies.