[buddypress-trac] [BuddyPress Trac] #6251: Add filter for styling support on paginate_links of members
buddypress-trac
noreply at wordpress.org
Tue Feb 24 13:41:52 UTC 2015
#6251: Add filter for styling support on paginate_links of members
---------------------------------+-----------------------------
Reporter: lenasterg | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Component - Members | Version:
Severity: normal | Keywords:
---------------------------------+-----------------------------
Hi.
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
(http://codex.wordpress.org/Function_Reference/paginate_links)
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.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6251>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list