Skip to:
Content
Pages
Categories
Search
Top
Bottom

Change number of members and groups on archive pages

Viewing 4 replies - 1 through 4 (of 4 total)
  • A very simple solution and you don’t really want to be running a plugin, you modify the loop for those pages passing a new per_page quantity through, which I suspect one of those post links is showing? If you look in the codex you will see examples of the methods of passing args to modify the loops.

    On the members loop you would do:
    ( bp_has_members( bp_ajax_querystring( ‘members’ ) . ‘&per_page=15’ ) )

    https://codex.buddypress.org/type/loop/


    koreancandy
    Participant

    @koreancandy

    Thank you 🙂

    When I add this code it makes the list of members disappear, the page is blank and the page’s sidebar disappears.

    Then something not being done correctly or you have custom code running of some description that’s interfering.


    koreancandy
    Participant

    @koreancandy

    Hmm I’m not sure. I have copied the code exactly how you suggested, so I guess it’s something to do with the code of the theme

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Change number of members and groups on archive pages’ is closed to new replies.
Skip to toolbar