Hi!
I would show title and breadcrumb in posts and pages, but many times, when they are long, the breadcrumb get over the title.
For example: http://arbus.it/valorizzazione-degli-addobbi-e-dei-ricami-e-2-fiera-dellartigianato-artistico/
Is it possible to show the breadcrumb under the title when they are long?
Or is it possible to show only home > blog > title post as breadcrumb?
Thank you!
Best regards,
Francesco
Hi Francesco!
Thank you for using Enfold.
You can move the breadcrumb below the title with this:
.title_container .breadcrumb {
position: relative;
right: 0;
top: 0;
margin-top: 0;
}
Or add this in the functions.php file to remove the categories:
// single post breadcrumb
add_filter( 'avia_breadcrumbs_trail', 'avia_breadcrumbs_trail_mod', 10, 1 );
function avia_breadcrumbs_trail_mod( $trail ) {
if( is_single() && get_post_type() == "post" ) {
$home = $trail[0];
$last = array_pop($trail);
$trail = array(
'0' => $home,
'1' => $trail[1],
'trail_end' => $last
);
}
return $trail;
}
Regards,
Ismael