[Resolved] Resetting a has_members query
-
Hey BP community,
I built myself a handy little “Who’s Online” widget that displays the number of current active members and displays up to 10 names of current browsers in my footer.
The only issue I have with it is on any page that already uses a bp_has_members() loop, the arguments of the main loop override my Who’s Online listing, causing it to repeat the same list of users.
I know with a WordPress posts loop I can use wp_reset_query() to destroy any existing queries to use multiple loops on a page. Is there a buddypress equivalent function for has_members()?
Thanks!
Andrew
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘[Resolved] Resetting a has_members query’ is closed to new replies.