[Resolved] Breadcrumbs in page header

Home Forums Support [Resolved] Breadcrumbs in page header

Home Forums Support Breadcrumbs in page header

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #482831
    Dan

    Hi
    I created a page header template for all my pages and I would like to add yoast breadcrumbs under the page title.
    So, this is the “content” section of my page header:
    <h1>{{post_title}}</h1>
    and I would like the breadcrumbs to show under the title:
    <h1>{{post_title}}</h1>
    {{Yoast Breadcrumbs}}

    I didn’t see a hook for adding the breadcrumbs php template code, is there a way to do this?
    Thanks,
    Dan

    #482996
    Leo
    Staff
    Customer Support

    Hi Dan,

    I believe this is what you have to do: https://generatepress.com/forums/topic/acf-field-to-page-header/#post-278439

    Can you give it a shot?

    #483005
    Dan

    Thanks Leo,
    I actually found a different solution, now that I saw the generate shortcode option.
    Yoast has a shortcode for adding the breadcrumbs:
    [wpseo_breadcrumb]
    More info here:
    https://kb.yoast.com/kb/implement-wordpress-seo-breadcrumbs/

    Thanks,
    Dan

    #483146
    Leo
    Staff
    Customer Support

    Awesome.

    Glad you figured out!

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