Skip to:
Content
Pages
Categories
Search
Top
Bottom

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


thekmen
Participant

@thekmen

yeah, echoing it to see what’s returned & it returns the post/page name with component tacked on, heading in the right direction though.

Using

if ( bp_is_page( BP_ACTIVITY_SLUG ) ||  bp_is_page( BP_MEMBERS_SLUG )
|| bp_is_member() || bp_is_page( BP_GROUPS_SLUG ) || bp_is_group()
|| bp_is_page( BP_FORUMS_SLUG ) || bp_is_page( BP_BLOGS_SLUG ) )

still works fine, just would prefer an easier way & a way to make sure other components & plugins also work

Thanks again.

Skip to toolbar