Custom members directory breaks pagination
I needed to create two member directories (filtered by role), so I set up a custom template and page in WordPress and used a modified members loop for each. It works, but the pagination doesn’t.
I noticed that in the default member directory (/members), the page 2 link URL is “http://localhost/twopointohla/members/?upage=2″. That works. If I go back to page 1, the page 2 URL link becomes “http://localhost/twopointohla/wp-admin/admin-ajax.php?upage=2″. That also works. However, in my custom page, the link is “http://localhost/twopointohla/bloggers-directory/?upage=2″. That link, however, only results in “Sorry, no members were found.”
Does anyone have an idea what I need to do to get pagination to work properly in my custom page?
Wordpress 3.5.2 and Buddypress 1.8
You must be logged in to reply to this topic.