[Plugin: Yoast Breadcrumbs] Display blog category instead of blog (7 posts)

  1. databell96
    Posted 5 years ago #

    I'm using Yoast Breadcrumbs plugin and I have got a number of blog categories in my blog which also contains press releases and official news, for example and for a page like this:

    My Breadcrumb trail appears as this:
    You are here: Home » Blog » Lani Ramos – New Orleans’ Funk Rock Chick

    I don't want that. I want it to list the blog category and not the blog name itself unless it is the blog category itself. How can I correct this? Or is there some other breadcrumb plugin I can use?

  2. shaolin46
    Posted 5 years ago #

    I have the same problem....but in my created theme it shows a link to a post instead of the BLOG link! absurd...
    But maybe it's my fault...something to change in my theme...but what??

    This is the problem :
    in the space between / / the plugin add a link to a post...why?

    the address of this page is blogurl>category>shop

    So..is it possible only to show: home / shop in breadcrumbs?

    Thanks to all for the support

  3. joncjones
    Posted 5 years ago #

    I also need to show at least the name of the blog category not just the word 'blog' as I have multiple categories for my blogs.

    Ideally I want it to show the pages that have been followed to reach this blog post.

    Any ideas ?

  4. shaolin46
    Posted 5 years ago #

    I solved my problem...
    Just modified the yoast-breadcrumbs.php file in:

    line 211:
    if ($on_front == "page") {
    $homelink = [ the same old stuff ]
    $bloglink = $homelink;
    else { [old stuff ] }........
    line 222:
    } elseif ( $on_front == "page" && is_home() ) {
    $output = $homelink.' '.$opt['sep'].' ';

    In the control panel, in the admin page, I've checked "Show category in post breadcrumbs" to display all the path to the post in the blog

    So I hope others with my same problem can solve!

  5. databell96
    Posted 5 years ago #

    I just tried that and I'm still getting the same exact path to the post. In other words, still seeing Blog.

  6. joncjones
    Posted 5 years ago #

    Did this finally get resolved ? Anyone else used Shaolin46's method with success ?


  7. rcotton
    Posted 5 years ago #

    re: joncjones

    Yes; my process was as follows

    installed Yoast Breadcrumbs from the dashboard. FTP downloaded it locally, copied the folder ("breadcrumbs") in windows explorer, pasted and renamed to "breadcrumbs-forked".

    Edited yoast-breadcrumbs.php as above (the line numbers were correct as of today). Additionally added " FORKED" to the plugin name at the very top of the file. Saved.

    FTP the new plugin back up, de-activate the old one if active, and activate the new one. No more "Blog" - now I get Home >> Category >> Post Title, and the link to the category is correct.

Topic Closed

This topic has been closed to new replies.

About this Topic