Need help combining bp_has_members() values to customize members loop
I’m having a hard time accomplishing something that is probably really simple but I just don’t have the coding knowledge to figure it out. Basically I want to customize a members loop by combining multiple bp_has_members() functions.
I’d like to combine
<?php if ( bp_has_members( 'type=online' ) ) : ?>and
<?php if ( bp_has_members( my_custom_ids( gender, female ) ) ) : ?>so my loop only displays female members who are currently online.
I am able to get one or the other to work, but can’t figure out how to use both at once. Really appreciate the help.
- The topic ‘Need help combining bp_has_members() values to customize members loop’ is closed to new replies.