Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,851
- How-to & Troubleshooting
- 128,868
- Creating & Extending
- 25,736
- Requests & Feedback
- 9,445
- Third Party Plugins
- 9,772
- Showcase
- 3,317
- Ideas
- 1,388
- Miscellaneous
- 9,132
-
Look at the current_component.
<?php global $bp;
if (isset($bp->current_component)) {
YOUR BP CSS/JS here
}
?>
The current_component should only return something if it is a BP page.
[EDIT]
Just checked the activity stream home page… it doesn’t return anything for that.
You’ll need to add a conditional for that as well.
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS