Members Loop – Filter by User Role
I am running S2 membership with Buddy press… trying to create a snazzy custom web application.
I want to generate two lists of users… alphabetical order
Affiliate Members (based on role)
Professional Members (based on role)
….. I realize I probably don’t need to run the loop twice on the page if I could query the information like how I would in WP_Query…
How can I filter the members based on User Roles… and how can I run the loop twice on page, do I need to reset the query?
- The topic ‘Members Loop – Filter by User Role’ is closed to new replies.