Hi,
I want to remove the breadcrumbs from all blog posts ONLY. A solution is to use page id’s, but I need it for over 300 pages. So that would’t work. I also tried:
.breadcrumb {
display: none }
but that works for all blog posts AND pages. Is there anyone who can help me?
Regards,
Marcel
Hey Marcel,
Please add following code to Functions.php file in Appearance > Editor
add_filter('avf_title_args', 'av_title_bar_button', 10, 2);
function av_title_bar_button($args,$id)
{
if (is_single())
{
$args['breadcrumb'] = false;
}
return $args;
}
Best regards,
Yigit
Hi Yigit,
Yes! Thanks a lot. It works :-)
Regards, Marcel
Hi!
You are welcome! :)
For your information, you can take a look at Enfold documentation here – http://kriesi.at/documentation/enfold/
And if there are features that you wish Enfold had, you can request them and vote the requested ones here – https://kriesi.at/support/enfold-feature-requests/
For any other questions or issues, feel free to post them here on the forum and we will gladly try to help you :)
Best regards,
Yigit