WordPress.org

Support

Support » Plugins and Hacks » WooCommerce » Product Cagetory – Display more than 5 products on the page?

Product Cagetory – Display more than 5 products on the page?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Roy Ho

    @splashingpixelscom

    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

    Roy Ho

    @splashingpixelscom

    That should work as that is what I use on my themes as well…

    splash – does this work for your categories?

    Roy Ho

    @splashingpixelscom

    That is for category pages…(anywhere where it displays products)

    Any idea what else i could try?

    Roy Ho

    @splashingpixelscom

    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…

    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

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Product Cagetory – Display more than 5 products on the page?’ is closed to new replies.
Skip to toolbar