Re: At my wit\'s end with custom theming …
Okay, by adjusting my statements to say:
if ( bp_is_whatever_component() && !bp_is_blog_page() ) {
//do whatever
}
They are functioning as I would expect, except for the wire component, which still is returning false in all cases. I have no messages on my wire, could that be causing this?
My question now has to do with shortening my code. I now have a string of 7 if … elseif statements to query all bp_components, including communityHeader.php if any return true, before my else, which includes homeHeader.php in all other cases. How might I go about reducing my string of 7 to one?