Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,849
- How-to & Troubleshooting
- 128,855
- Creating & Extending
- 25,736
- Requests & Feedback
- 9,445
- Third Party Plugins
- 9,772
- Showcase
- 3,317
- Ideas
- 1,388
- Miscellaneous
- 9,132
-
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…
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS