Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Converting theme, how to load BuddyPress stuff on BuddyPress pages only?


thekmen
Participant

@thekmen

Thanks @r-a-y, using

global $bp;
if (isset($bp->current_component)) {
YOUR BP CSS/JS here
}

seems to load the BuddyPress stuff on normal WordPress posts & pages where as my longer version doesn’t, any other ideas?

Skip to toolbar