Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: How to get a section identifier in the body tag?


peterverkooijen
Participant

@peterverkooijen

This also works! :-)

if ( $bp->current_component == 'activity' || 'profile' || 'wire' || 'messages' || 'friends')
$c[] = 'members';

But why does this line also add a ‘members’ tag to the groups directory home page body class?! And the blogs directory… :-(

Skip to toolbar