Skip to:
Content
Pages
Categories
Search
Top
Bottom

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


r-a-y
Keymaster

@r-a-y

You don’t have to.

Didn’t we want $bp->current_component to return blank for WP pages and posts?

That way you can just target BP pages like profiles, member directories, etc. because $bp->current_component returns something for them.

Skip to toolbar