Skip to:
Content
Pages
Categories
Search
Top
Bottom

BuddyPress Better Pagination – number of groups when using a custom slug

  • @nit3watch

    Participant

    Edit: Sorry, was due to a typo, misplaced a apostrophe when I was bypassing $groups_per.

    Works when I rename it to suit my slug

    @apeatling when using a custom slug, say groups was changed to example and your url would read: http://localhost/wordpress/example/ were you your groups would be listed, limiting the number of groups doesn’t work.

    Ive tried playing around with:

    if ( $groups_per && 'groups' == $bp->current_component )
    return $query_string . '&per_page=.$groups_per';

    renaiming ‘groups’ to example but I get a error:
    Warning: Division by zero in F:Programmesxampphtdocswordpresswp-contentpluginsbuddypressbp-groupsbp-groups-templatetags.php on line 69

    Any idea’s?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘BuddyPress Better Pagination – number of groups when using a custom slug’ is closed to new replies.
Skip to toolbar