I see there is a global setting to turn off the breadcrumb navigation for Pages, but there is not a way to do this for Posts. We want to remove the breadcrumbs from all Posts. Is that possible?
Hey garagestudios,
Thanks for your question, the option Enfold Theme Options ▸ Header ▸ Header Layout ▸ Header Title and Breadcrumbs
is a global setting for both pages and posts, to remove the breadcrumbs only from all posts please add this css to your Enfold Theme Options ▸ General Styling ▸ Quick CSS field
#top.single-post .title_container .breadcrumb {
display:none;
}
After applying the css, please clear your browser cache and check.
Best regards,
Mike
or you let show for all – and remove it for some pages / posts
function avf_header_setting_filter_mod($header) {
if(is_single() || is_front_page()){
$header['header_title_bar'] = 'hidden_title_bar';
}
return $header;
}
add_filter('avf_header_setting_filter', 'avf_header_setting_filter_mod', 9999, 1);
if you like to preserve showing it for portfolios – use instead this
function avf_header_setting_filter_mod($header) {
if(is_singular('post') || is_front_page()){
$header['header_title_bar'] = 'hidden_title_bar';
}
return $header;
}
add_filter('avf_header_setting_filter', 'avf_header_setting_filter_mod', 9999, 1);