2

(Migrated from Meta)

How can I get Yoast SEO + Wordpress to display multilevel breadcrumbs?

When I migrated from a static site, I had breadcrumbs like:

My SiteOrthodox Books Online, and MoreSocratic Dialogue → Plato: The Allegory of the... Flickering Screen?

Or if you'd like source,

<p class="breadcrumb"><a href="https://example.com/plato/" title="Jonathan's Corner &rarr; Orthodox Books Online, and More">example.com</a> &rarr; <a href="https://example.com/library/" title="An online library where you can read whole books free.">Orthodox Books Online, and More</a> &rarr; <a href="https://example.com/library/#socratic_dialogue" title="An eclectic assortment of Socratic dialogue.">Socratic Dialogue</a> &rarr; Plato: The Allegory of the... <em>Flickering Screen?</em></p>

In other words, there were multiple levels. (Please note that for the Wordpress implementation, I'm intending one parent page per level of heirarchy.)

I've looked around, and I haven't found instructions to recreate this kind of breadcrumb (or something that would be better in the context).

How can I recreate this basic breadcrumb effect, or have something else that would be a better fit with Wordpress + Yoast SEO?

3

Wordpress uses Categories and Pages for their breadcrumbs.

Posts typically look something like Home>Blog Page Name>Parent Category>Child Category>Post.

Pages look like Home>Parent Page>Child Page>Page.

If you want to create nested breadcrumbs, then you need to create nested categories for posts or nested parent pages for Pages.

And from what I understand, breadcrumbs are more a part of your underlying theme/WordPressn than Yoast. Yoast just adds the JSON . Per their KB - What do Yoast Breadcrumbs Do?, Yoast will "output JSON-LD data in the source code".

Given the source code you provided, it looks like you are looking for HTML breadcrumbs within your webpages, not necessarily the JSON breadcrumbs that Google uses. However, Yoast would create the necessary JSON-LD based on your HTML breadcrumbs. It's entirely up to Google though whether they choose to display your breadcrumbs.

| improve this answer | |
  • Thank you; I was barking up the wrong tree by looking to enter data with Yoast. Would you be available to be pinged if I run into something? In related questions, is it necessary and / or sufficient to assign the primary category to be the category I want? Thanks, – Christos Hayward May 9 '19 at 23:59
  • @ChristosHayward, if I you need to set up your category/page tree first. Then you can assign your posts/pages to the child. Categories are created while in a post. Pages are created via the left hand menu. If you need further help, it probably should be done in chat, but I don't know how to convert this discussion to chat. – Trebor May 10 '19 at 1:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.