I would like to remove the Pagination on the buddypress group list, currently it only shows 20 on each page
e.g. Viewing group 1 to 20 (of 36 groups)
I would like all of the groups to be displayed on one single page
Francisco Javier Carazo Gil answers:
In your theme delete something like this: <div class="pagination">
<div class="pag-count" id="group-dir-count">
<?php bp_groups_pagination_count() ?>
</div>
<div class="pagination-links" id="group-dir-pag">
<?php bp_groups_pagination_links() ?>
</div>
</div>
Francisco Javier Carazo Gil comments:
http://codex.buddypress.org/developer-docs/custom-buddypress-loops/the-groups-loop/
npeplow comments:
Hi Francisco
Will that not just keep showing 20, instead of the full list?
I agree that the pagation links will need to be removed however
Francisco Javier Carazo Gil comments:
You can change this parameter and set it to a big number (more than groups that you have to avoid it)
per_page optional
The number of groups to display on a page before they are paginated to the next page.
Default value: 10