Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: At my wit\'s end with custom theming …


madyogi
Participant

@madyogi

Alas, my excitement continues to be dissuaded.

The statement … if ( bp_current_component(profile) ) … seems to be acting just like bp_is_user_profile … they both return true on every page load. The only reason this seemed to work earlier is because I placed the if ( is_home () ) condition above it, so that overrode it until I went to, say a blog archive page (again, there is only one blog on my page … I’m only interested in the profile/wire/activity/friend functions of BP.

Though it’s still a bit puzzling that the if … elseif … else statement in my actual homeHeader.php file functions as expected in virtually every circumstance, setting the proper menu tab setting.

Skip to toolbar