Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,860
- How-to & Troubleshooting
- 128,910
- Creating & Extending
- 25,742
- Requests & Feedback
- 9,445
- Third Party Plugins
- 9,773
- Showcase
- 3,317
- Ideas
- 1,389
- Miscellaneous
- 9,134
-
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