• Resolved triplemaya

    (@triplemaya)


    I need to add a breadcrumb block to all pages.

    I am using 2022 theme. As it is a full site editing theme I assume there is a way to add a breadcrumb block to all pages.

    I have Yoast SEO installed. It is all ticked and turned on. No breadcrumbs.

    In the instructions I found:

    https://yoast.com/help/implement-wordpress-seo-breadcrumbs/#h-how-can-i-add-breadcrumbs-with-a-shortcode

    it says:

    “Note that there is no “Breadcrumbs for pages” option, so pages are not shown. Instead, a shortcode must be used to display them.”

    How do I do this to apply to all pages? The link I follow does not explain it at all!

    There is a section:

    How do I implement Yoast SEO breadcrumbs site-wide?

    But the instructions say:

    “Copy the following code into your theme where you want the breadcrumbs to be. If you are not sure, you will need to experiment with placement:”

    I thought the whole point of the block methodology was that you do not edit files, just introduce a new block. And with full site editing surely there is a way to have a breadcrumb block present on all pages.

    • This topic was modified 1 year, 10 months ago by triplemaya.
    • This topic was modified 1 year, 10 months ago by James Huff.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Michael Ti?a

    (@mikes41720)

    Hi @triplemaya

    If you want to implement breadcrumbs sitewide, you definitely do need to implement the code – https://yoast.com/help/implement-wordpress-seo-breadcrumbs/#how-do-i-implement-yoast-seo-breadcrumbs-site-wide

    Otherwise, you’ll have to add the breadcrumb block to each specific post or page where you want to add the breadcrumbs. You may also want to look into adding it as a widget under Appearance > Widgets (but it’s dependent on the theme and is usually added to the footer and sidebar), or under full side editing where it can be added as part of a template under Appearance > Editor.

    Thread Starter triplemaya

    (@triplemaya)

    Thanks Michael. Very reluctant to use code because of potential problems with updates, not to mention moving to a new theme. I am trying to keep this very very simple!

    But it is simple! I just put the Yoast shortcode in a header in FSE. Magic!

    However, I could really do with a bit of help still. It has home in twice:

    “Home > Home > Quantum Karma”

    In the full site editing interface the fields are:

    “Home > Dummy Parent > Dummy Title”

    (This was in a breadcrumb block I found. The Yoast one looks just like the output. But I thought this might help diagnose why Home is in twice.)

    • This reply was modified 1 year, 10 months ago by triplemaya.
    • This reply was modified 1 year, 10 months ago by triplemaya.
    • This reply was modified 1 year, 10 months ago by triplemaya.
    Thread Starter triplemaya

    (@triplemaya)

    Solved! I just went to the Yoast breadcrumbs page for settings and blanked out the field for text for home page.

    Hope all this helps someone in the future.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘breadcrumb block’ is closed to new replies.