Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #296378

    Hi,
    The breadcrumb on individual blog post is broken.
    While it should be based on the permalink structure, the actual breadcrumb being displayed is something like this –
    Home > Post Title (Link) > Category > Post Title

    How can I change this? I would rather have it as Home > Category (Link) > Post Title

    Thanks for great work!

    #296440

    Hey sureshakula!

    The breadcrumb structure and the permalink structure are independent from each other and they may vary from each other. If the breadcrumb structure of the post doesn’t work as intended (like on the demo page here: http://kriesi.at/themes/enfold/2014/04/28/new-electric-cars-are-getting-really-fast/ ), make sure the Blog page is set on the theme options page (Enfold > Theme Options). The structure should be

    Home > Blog Page Title (Link) > Category (Link) > Post Title

    Regards,
    Peter

    #296458

    Hey Dude, setting the blog page from Theme Options solved the problem.
    One more question – can I completely hide breadcrumb from individual blog posts?
    Thanks!

    #296601

    Hey!

    You can use a filter. Maybe it needs to be made more specific, but to remove from all single post pages this should work:

    In functions.php (or functions.php of the child theme if using a child theme) put the following:

    
    function my_breadcrumb_filter($breadcrumb)
    {
    if(is_singular()) $breadcrumb = '';
    
    return $breadcrumb;
    }
    
    apply_filters( 'avia_breadcrumbs', 'my_breadcrumb_filter', 10, 1 );
    

    Regards,
    Günter

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.