Tagged: Blog, blog posts, breadcrumbs
My client wants a specific hierarchical Blog structure (please see attached document for additional details re the exact structure we are trying to achieve), but several of the features do not seem be working correctly:
1) Blog structure is not showing correctly
2) The Category widget hierarchical feature is not working – I had to create a custom widget for theBlog side bar using the Text widget to create a Blog category menu, which is not the most efficient or reliable method
3) Breadcrumbs are showing duplicate posts in the breadcrumb trail and are not showing the main Blog landing page
Please see attached for additional details.
Thank you for your help,
Wendy
Hey nwcm0819,
1.) Seems like a weird issue, it gets the right link but the wrong title. Can we request for ftp access for this? also can you try to deactivate all plugins and see if this fixes the issue.
2.) It’s working properly, you can go to Posts > Categories and you will see they display the same. Since the category list you want to display needs to be customized or filtered, you can use Custom Menu widget for this instead.
3.) I have added this code in functions.php:
add_filter( 'avia_breadcrumbs_trail', 'avia_breadcrumbs_trail_mod', 50, 2 );
function avia_breadcrumbs_trail_mod( $trail, $args ) {
if ( is_single() ) {
unset($trail[1]);
}
return $trail;
}
Best regards,
Nikko