Thread Starter
vtex
(@endriuska)
Thanks, I tried adding:
add_filter( ‘loop_shop_per_page’, create_function( ‘$cols’, ‘return 24;’ ), 20 );
into my themes functions.php right above <?php } but still did not work. Any ideas?
Thanks
That should work as that is what I use on my themes as well…
Thread Starter
vtex
(@endriuska)
splash – does this work for your categories?
That is for category pages…(anywhere where it displays products)
Thread Starter
vtex
(@endriuska)
Any idea what else i could try?
That is the proper way to do it…The only other way is a work around and not recommended. You can go to your blog settings and change the number there but that will affect both your blog lists and product lists thus I said it is not recommended…But if you don’t use your site with a blog at all, then it won’t hurt you…
Thread Starter
vtex
(@endriuska)
I finally figured it out, my theme had it’s own setting of how many post to display and it was overwriting functions.php and general setting for wp. I’m using elegantthemes and if someone runs into the same issue, the variable is set under theme cpanel > General Settings > General > “Number of Posts displayed on Archive pages” = XXXX