WordPress.org

Forums

[Plugin: Yoast Breadcrumbs] No Breadcrumbs (5 posts)

  1. wiebejammin
    Member
    Posted 5 years ago #

    No breadcrumbs visible on my site after activating and setting the latest version. This has happened on several sites now.

  2. jascanio
    Member
    Posted 5 years ago #

    Experiencing a similar issue - after the latest update, the breadcrumbs are simply omitting any subcategories of a selected category.

    For instance, instead of reading "Home >> News >> Products" a post is simply reading "Home >> News"

    I realize that, if I go into the post and deselect the option for the "News" category, the breadcrumbs then read properly.

  3. madmax7
    Member
    Posted 5 years ago #

    Also experiencing a similar issue, except my site is displaying the wrong post title. See it in action at LwS in the footer.

  4. madmax7
    Member
    Posted 5 years ago #

    The issue I reported above may be due to the structure of my site, but I fixed it by changing this:

    (on line 256 of yoast-breadcrumbs.php)

    $output .= bold_or_not(get_the_title());

    to

    $output .= bold_or_not(get_the_title($wp_query->post->ID));

    I didn't dig into WP too far to find out what get_the_title provides when you don't give it an ID, but the issue seemed to lie with that. I hope this helps someone.

  5. Cataire
    Member
    Posted 5 years ago #

    Thanks a lot madmax7, that really helped.

    I had an odd problem, breadcrumbs were displayed for every page but the post pages, unless i was logged as an admin.

    Following your idea, I also managed to display the post's categories by changing :

    if (is_single() && $opt['singlecatprefix']) {
    			$cats = get_the_category();

    to

    if (is_single() && $opt['singlecatprefix']) {
    			$cats = get_the_category($wp_query->post->ID);

Topic Closed

This topic has been closed to new replies.

About this Topic