Find Answers and Get Support › Forums › Gwangi – PRO Multi-Purpose Membership, Social Network & BuddyPress Community Theme › Popular Features › Members Directory › Add a pagination on top of buddypress member list › Reply To: Add a pagination on top of buddypress member list
David BDJ
Participant
- 23 Topics
- 47 Posts
With this code, you can have a patch to avoid return on page 1. Maybe you can implement in a future release ? There is just a problem on mobile, it works only on desktop.
/**
* Update history on click in members navigation
*/
$(document).on("mouseup touchend", "#member-dir-pag-bottom a.page-numbers", function(){
history.pushState({}, "Member directory - Page "+ $(this).text(), $(this).attr("href"));
});
December 12, 2019 at 12:02
#8855