BuddyBoss Home – Web Support Forums Themes OneSocial theme Product gallery pages only displaying 10 products per page

Viewing 8 posts - 1 through 8 (of 8 total)
  • Question



    I’m a WCVEndors Pro customer and bought this theme today (on recommendation from Ben) and have to say I’m super impressed with it – THANK YOU 🙂

    I’ve got a couple of issues that I’ll raise in different tickets.

    Firstly, when users are browsing through products, the product listing page (gallery pages) only display 10 products per page. How can I change this as customers don’t realise there are more products because of the empty space after the products on the first page.

    Many thanks,




    I’ve fixed the qty of products on gallery myself using code added to functions.php:

    /* Display 32 products per page. Goes in functions.php */
    add_filter( ‘loop_shop_per_page’, create_function( ‘$cols’, ‘return 32;’ ), 20 );

    However the community page for vendors products still only shows 10 products:


    How do I increase this please so there is no empty space making visitors think there are no more products to see?

    Thank you,



    Hi @conscious-crafties

    Product per page is controlled from default WordPress option
    Line 15

    $product_args = array(
        'post_type'       => 'product',
        'author'          => $vendor_id, 
        'posts_per_page'  => apply_filters( 'loop_shop_per_page', get_option( 'posts_per_page' ) ),
        'paged'           => $product_paged

    Varun dubey


    Hi Varun,
    Unfortunately I’m not a clever coder. Could you explain what I need to change in the code?
    Many thanks,


    Hi Karen ,
    You will have to go to Settings —> Reading and change the number of post per page
    (Blog pages show at most — 12 or what number you want)



    Thank you so much Edmond!

    That was much easier solution! Worked a treat 🙂


    Tom Cheddadi

    Excellent! Thanks @crissfred for helping out 🙂


    I’m glad i could help .

Viewing 8 posts - 1 through 8 (of 8 total)
  • The question ‘Product gallery pages only displaying 10 products per page’ is closed to new replies.