Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,866
- How-to & Troubleshooting
- 128,919
- Creating & Extending
- 25,744
- Requests & Feedback
- 9,448
- Third Party Plugins
- 9,773
- Showcase
- 3,317
- Ideas
- 1,390
- Miscellaneous
- 9,137
-
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