WP Manifestindependent plugin directory
manifest / users / bp-custom-pagination

BuddyPress Custom Pagination

This is a simple plugin to customize the paginated links for BuddyPress members and groups directory pages.

by Upnrunn · github.com/upnrunnhq/bp-custom-pagination · website

★ 0stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/upnrunnhq/bp-custom-pagination/archive/refs/heads/master.zip

BuddyPress is using the paginate_links() function for building paginated navigation links on members and groups directory pages. The paginate_links() function is working fine on directory pages but we want to customize the output a little bit.

‌

We'd like to add the following changes to the default output of the paginate_links() function.

‌

  1. We will display number of total items.
  2. Instead of disabling the current page link, we will add text input so user can put any number to navigate pages easily.
  3. We have links for previous and next page but will also add two additional links to navigate to the first and last page easily and remove unnecessary links.