Support » Plugin: WooCommerce » Shop and Category only show 5 products

  • Resolved angelostudios


    I know this has been asked and answered, but the solutions are not working for me and I am hoping someone else has some advice.

    Currently we’re only able to see 5 products on a page.

    I’ve tried to set my WP Settings > Reading to show 24 blog posts.

    I’ve tried to put the following code in my themes functions.php:

    // Display 24 products per page
    add_filter('loop_shop_per_page', create_function('$cols', 'return 24;'));

    I’ve uninstalled the WP Page Nav plugin in case it was conflicting.

    I also created a new page and put the following shortcode in:
    [recent_products per_page="12" columns="4"]

    Even this only shows 5 products on each page.

    So far, nothing is making this work. I’m going insane trying to figure this out.

    Any help would be greatly appreciated!!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author royho


    Perhaps your theme is overriding your settings? Try it with default 2011 theme.

    That is possible. Since the site is being announced to thousands today, I can’t switch the them. Where could I look in the theme to see if it’s being overridden?

    It’s not in the theme functions.php, but there is an include file so I’ll start there.

    Thanks for the help on this… Yes, my theme had a hidden function that was limiting the output to 5 products. Once I removed that custom code, everything showed up.


Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Shop and Category only show 5 products’ is closed to new replies.