WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Yoast Breadcrumbs] No Breadcrumbs

[Plugin: Yoast Breadcrumbs] No Breadcrumbs

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • 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.

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

    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.

    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);

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Yoast Breadcrumbs] No Breadcrumbs’ is closed to new replies.
Skip to toolbar