So I'm not sure what happened but this was working until the update to Wordpress 4.7. Can someone please help me figure out why my page header is still showing default "News & Events" when on any single post?
if( $subheader_show ){
echo '<div id="Subheader" style="'. $subheader_style .'">';
echo '<div class="container">';
echo '<div class="column one">';
// Title
$title_tag = mfn_opts_get( 'subheader-title-tag', 'h1' );
if( in_category('news' || 'community' || 'events')) {
echo '<'. $title_tag .' class="title">News & Events</'. $title_tag .'>';
} elseif( in_category('attorneys')) {
echo '<'. $title_tag .' class="title">Attorneys</'. $title_tag .'>';
} elseif( in_category('publications')) {
echo '<'. $title_tag .' class="title">Publications</'. $title_tag .'>';
} else {
echo '<'. $title_tag .' class="title">'. mfn_page_title() .'</'. $title_tag .'>';
}
// Breadcrumbs
if( $breadcrumbs_show ) mfn_breadcrumbs( $breadcrumbs_link );
echo '</div>';
echo '</div>';
echo '</div>';
}