Skip to:

Opened 9 years ago

Closed 6 years ago

#6251 closed enhancement (maybelater)

Add filter for styling support on paginate_links of members

Reported by: lenasterg's profile lenasterg Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Core Keywords: trac-tidy-2018
Cc: espellcaste@…


I noticed that, there is no way to change the formatting of the paginate_links for members, blogs, etc. unless you change the Buddypress core files.
The filters supplied (ex. bp_get_members_pagination_links filter) are only let you change the resulting string and not the variables of the paginate_links function (
By formatting I mean, for example the number of pagination links ('end_size','mid_size') etc.

Suggested change is to include same defaults as the WP paginate_links() function and add a filter, so theme developers can use it to style the pagination links.

Attached is the suggested change for the members template. If it is OK similar changes apply also to members, groups templates.

Attachments (1)

bp-members-template.php.patch (1.7 KB) - added by lenasterg 9 years ago.

Download all attachments as: .zip

Change History (6)

#1 @DJPaul
9 years ago

  • Component changed from Component - Members to Component - Any/All
  • Milestone changed from Awaiting Review to Future Release

Sure, we can add something like this, to all components. I think we'd be best to use the bp_parse_args function as that's an easy way of adding a filter for this kind of thing. @lenasterg are you interested in working on the patch?

#2 @espellcaste
8 years ago

  • Cc espellcaste@… added

#3 @DJPaul
8 years ago

  • Component changed from Component - Any/All to Core

#4 @DJPaul
6 years ago

  • Keywords trac-tidy-2018 added

We're closing this ticket because it has not received any contribution or comments for at least two years. We have decided that it is better to close tickets that are good ideas, which have not gotten (or are unlikely to get) contributions, rather than keep things open indefinitely. This will help us share a more realistic roadmap for BuddyPress with you.

Everyone very much appreciates the time and effort that you spent sharing your idea with us. On behalf of the entire BuddyPress team, thank you.

If you feel strongly that this enhancement should still be added to BuddyPress, and you are able to contribute effort towards it, we encourage you to re-open the ticket, or start a discussion about it in our Slack channel. Please consider that time has proven that good ideas without contributions do not get built.

For more information, see
or find us on Slack, in the #buddypress channel:

#5 @DJPaul
6 years ago

  • Milestone Awaiting Contributions deleted
  • Resolution set to maybelater
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.