Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

Remove Pagination on buddypress groups list WordPress

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

Answers (1)


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 class="pagination-links" id="group-dir-pag">
<?php bp_groups_pagination_links() ?>


Francisco Javier Carazo Gil comments:

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