Excluding Multiple Groups from Directory
-
I have several groups that are set to “Private” and would like to exclude them from the Directory. I received direction on how to exclude “one” group and that works great using the following:
php while ( bp_groups() ) : bp_the_group(); if(bp_get_group_name() != “Name of your Group”) :
then add the ?php endif? before the endwhile.
How do I edit the above to exclude multiple groups and what code would be used in the groups-loop.php?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Excluding Multiple Groups from Directory’ is closed to new replies.