Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: How to Exclude a Group From the Groups Loop


Nahum
Participant

@nahummadrid

@pollyplummer r-a-y showed me how to do this for blogs, thought i’d flip it for the groups loop and it seems to work. this was from a couple versions back there may be something new as it was said there would be an easier exclude parameter for has_blogs but i haven’t seen it. anyway try

php while ( bp_groups() ) : bp_the_group(); if(bp_get_group_name() != “Name of your Group”) :

then add the ?php endif? before the endwhile.

Skip to toolbar