Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: How to create submenu containing BuddyPress tabs (editing header.php)?


jivany
Participant

@jivany

@Bpisimone If I’m understanding your question correctly, you should be able to make one big logical check:

<?php if (bp_is_page( BP_GROUPS_SLUG ) || bp_is_page( BP_MEMBERS_SLUG ) || bp_is_page( BP_ACTIVITY_SLUG ) || bp_is_group() || bp_is_member() ) : ?> class="selected" <?php endif; ?>

Skip to toolbar