Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: is_page() cannot identify a page that has buddypress activity assigned to it

@hnla

Participant

Not sure at what point you’re running the check but simply dumping is_page(‘activity’) out in the header.php of a bp enabled theme only returns true when on activity page.

 

Not sure about your example of comma separated items didn’t think that worked although you can pass an array.

 

Maybe you need to do an if(  is_home() && bp_is_current_component(‘activity’) )

Skip to toolbar