• Resolved matwp

    (@matwp)


    Hi, I’ve got a problem with Yoast breadcrumbs, but only in Blog section. It display “false” instead of “blog” like this : “home / false” instead of “home / blog”. My blog page is a static page. No particular seeting is use on Yoast settings. I don’t understand what is going on…

Viewing 15 replies - 1 through 15 (of 22 total)
  • Suwash

    (@suascat_wp)

    @matwp

    We’re sorry for the trouble you’re having with Yoast breadcrumbs.

    Would you please elaborate this issue in more detail? If possible, can you please provide us example URL and take a screenshot that highlights this issue? This would help us investigate the issue further.

    We look forward to your response.

    Thread Starter matwp

    (@matwp)

    You can see the problem here: efc50ee79117.ngrok.io
    Sorry i’m working in local.

    Suwash

    (@suascat_wp)

    Unfortunately, the given link is expired. Can you please recreate the one? Alternatively, related screenshots would be helpful to understand the issue.

    Thread Starter matwp

    (@matwp)

    Suwash

    (@suascat_wp)

    Can you confirm that your theme implements Yoast SEO breadcrumb?

    Thread Starter matwp

    (@matwp)

    It’s a custom made template test. But it works for custom post types and all kind of pages except for blog…

    Plugin Support Md Mazedul Islam Khan

    (@mazedulislamkhan)

    We understand that you have created a custom WordPress theme. However, can you please confirm whether you have implemented Yoast SEO breadcrumbs by following the steps given here on the theme? If not, you’ll first need to implement Yoast SEO breadcrumbs within the theme.

    Thread Starter matwp

    (@matwp)

    Yes, it’s correctly implemented:
    <?php
    if ( function_exists(‘yoast_breadcrumb’) ) {
    yoast_breadcrumb( ‘<p id=”breadcrumbs”>’,'</p>’ );
    }
    ?>

    Thread Starter matwp

    (@matwp)

    the code is in a template part call in all pages, archive pages and single pages

    Plugin Support Md Mazedul Islam Khan

    (@mazedulislamkhan)

    Thanks for your confirmation. In this case, can you please switch the theme to the default 2021 theme and implement the Yoast SEO breadcrumbs on there to see whether this resolves the issue for you? This will help us to identify whether it’s an issue specific to the custom theme that you’re using or specific to something else.

    Thread Starter matwp

    (@matwp)

    I change to Twenty Twenty-One theme but it still the same: “Accueil / false”

    Plugin Support devnihil

    (@devnihil)

    Can you please confirm where in the TwentyTwentyOne theme the code is implemented?

    Thread Starter matwp

    (@matwp)

    I put the code in “template parts/header/site-header.php” just before </header>

    Pcosta88

    (@pcosta88)

    Hi,

    We understand you are getting the word “false” as part of your breadcrumbs pathway.

    We would like some more information.

    1. To clarify, you placed the php code into single.php, page.php, and some other archive page file?

    This works on all your posts and pages?

    2. As a test if you were to also place the code in your header.php file and then visit the page which has the template does the issue resolve?

    If so you may need to add the code to your template file itself. If you do that does the issue resolve?

    3. Can you confirm you are using WordPress 5.6.2? You can check by clicking on the W in the top left and selecting About. If you need to update, please check with your host provider.?Please know that if you are using an older version of WordPress Core you may experience unexpected behavior with Yoast.?This guide explains more:?https://yoast.com/why-we-dont-support-old-wordpress-versions/.

    4. Are all your non-Yoast plugins and themes also updated?

    5. We had another recent release. Can you confirm you are using the most recent Yoast SEO Premium, v15.9? If you update, does the issue resolve?

    Thread Starter matwp

    (@matwp)

    1. No I include the code inside a template part file wich is a header, present in all pages. It works evrywhere but not on blog pages. But it works with custom post types. So it works with archive and single pages.

    2. if I put the code insde header.php breadcrumbs doesn’t display.

    3, 4, 5. Yes, I’m using WordPress 5.6.2 and all my plugins are up to date.

Viewing 15 replies - 1 through 15 (of 22 total)
  • The topic ‘Blog breadcrumbs display “false” instead of “blog”’ is closed to new replies.