Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,840
- How-to & Troubleshooting
- 129,869
- Creating & Extending
- 25,901
- Requests & Feedback
- 9,548
- Third Party Plugins
- 9,832
- Showcase
- 3,316
- Ideas
- 1,402
- Miscellaneous
- 9,178
-
You could filter the body class? Something like this:
function add_body_classes( $classes ) {
if ( bp_is_member() )
$classes[] = 'this-is-a-member-profile';
if ( bp_is_my_profile() )
$classes[] = 'this-is-my-profile';
}
add_filter( 'body_class', 'add_body_classes', 12 );