Show members based on custom field checkboxes
-
Hey everyone!!
I need to show only certain profiles if either of 2 custom check boxes are checked.I have no idea how to do this. I know WordPress and PHP, but Buddypress is alluding me. I’ve tried Googling but nothing is helping.
I’ve taken the code from Members Loop and I have all 4 members(more to come) displayed.
I thought I could modify the top part of the code like this:
while ( bp_members("custom_field" === "checked") ) : bp_the_member();
Can anyone help me modify that code to show only members that have either 1 of the 2 or both check boxes?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Show members based on custom field checkboxes’ is closed to new replies.