Site logo

[Resolved] Yoast SEO Breadcrumb Into Header Element Just Below Title

Home Forums Support [Resolved] Yoast SEO Breadcrumb Into Header Element Just Below Title

Home Forums Support Yoast SEO Breadcrumb Into Header Element Just Below Title

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1838969
    Michael

    Hi All. I’ve created a number of Hero Header elements for each category archive as well as single posts. In each element I’ve been asked to incorporate the Yoast SEO breadcrumb functionality. In the header elements I’ve created I haven’t been able to figure out how to display the Yoast breadcrumbs within the hero-meta div (see screen capture). Since it doesn’t look like I can execute php in these header elements how would I position a hook element that used the code (see screen capture 2) and positioned it just under the Hero title?

    Thank you for suggestions!

    #1838973
    Leo
    Staff
    Customer Support

    Hi Michael,

    Yoast breadcrumbs can be added with a shortcode as well.

    See this article here with the link to the shortcode:
    https://docs.generatepress.com/article/adding-breadcrumbs/#using-hooks-element

    #1838983
    Michael

    Exactly what I was after! Thanks much Leo! -Mike

    #1838998
    Leo
    Staff
    Customer Support

    No problem 🙂

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.