Skip to:
Content
Pages
Categories
Search
Top
Bottom

Group Directory – How do I change the number of groups viewed per page?

  • Profile photo of MikeTime360
    MikeTime360
    Member

    @miketime360

    The group directory page shows 20 groups per page by default. How to I change the number of groups shown per page? I want it to be 50 groups per page. Thank you. – Mike

Viewing 3 replies - 1 through 3 (of 3 total)
  • Profile photo of @mercime
    @mercime
    Moderator

    @mercime

    – Build a child theme of bp-default theme = https://codex.buddypress.org/theme-development/building-a-buddypress-child-theme/

    – Within child theme folder, create a folder named groups, and copy over the groups-loop.php from bp-default theme into the groups folder https://buddypress.trac.wordpress.org/browser/tags/1.5.2/bp-themes/bp-default/groups/groups-loop.php

    – Open up that groups-loop.php and replace

    with

    – Save and upload child theme folder e.g. bp-dusk to wp-content/themes/

    Profile photo of MikeTime360
    MikeTime360
    Member

    @miketime360

    Mercime,

    Hi. Thank you for the idea and code.

    I am using Suffusion. I already had a Child Theme. So I tried to enter the code into it.

    It did not work. Here was the error message:

    Parse error: syntax error, unexpected ‘=’ in /home/stm/public_html/wp-content/themes/suffusion-child/groups/groups-loop.php on line 16

    (Line 16 was the changed line of code.)

    Any other ideas?

    Thanks.

    -Mike

    Profile photo of @mercime
    @mercime
    Moderator

    @mercime

    @miketime360 I recall Sayontan mentioning that the theme had around 200+ options or so and so it might be a conflict with some of queries/options he already has in the theme. You should search in the theme’s forums or post there instead. What I posted above is for child theme of bp-default.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Group Directory – How do I change the number of groups viewed per page?’ is closed to new replies.
Skip to toolbar