BuddyPress Better Pagination – number of groups when using a custom slug
-
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 69Any idea’s?
- The topic ‘BuddyPress Better Pagination – number of groups when using a custom slug’ is closed to new replies.