Re: Custom Page that Filters Groups
It seems like you should use the bp_get_featured_group() function in your if statement, as it returns the value rather than echoing it.
Maybe something like this?
<?php if ( bp_get_featured_group() == "featured") : ?>
I’m not totally sure, You might have to insert some “echos” in there and debug along the way.