[Resolved] Blog Page Breadcrumb Positioning Wrong

Home Forums Support [Resolved] Blog Page Breadcrumb Positioning Wrong

Home Forums Support Blog Page Breadcrumb Positioning Wrong

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

    Hi guys,

    I’m having an issue whereby the breadcrumb I have added to the site is displaying in the wrong location on https://reclaimdesign.org/eco-blog.html/ and only on that page:

    https://www.dropbox.com/s/v7wkjhf40kkv6k5/screenshot1.jpg?dl=0

    All the other pages it displays in the correct position:

    https://www.dropbox.com/s/vcqgbccwqmmq3i8/screenshot2.jpg?dl=0

    I am not sure how to tackle this. Please could you help me?

    Michael.

    #1166088
    David
    Staff
    Customer Support

    Hi there,

    so remember this:
    https://generatepress.com/forums/topic/adding-code-to-blog-page/#post-1160673

    The header content required a separate hook for the Blog page.

    1. Edit your current Hook for displaying the Breadcrumb – and exclude the blog.
    2. Include the breadcrumb function in either a new hook for the Blog or the one you created for the header title.

    #1166503
    Michael

    Hi David,

    Doh, I forgot all about that…. My brain has been melted by working out multiple product schema per page.

    The blog breadcrumb is now working beautifully. I did as you suggest and made an additional new hook for the Blog main page, and changed the hook location to be “inside_container” on that one instead of “before_main_content” and it works like the bomb. Thank you so much. My thinning, grey hair lives to fight another day!

    #1166848
    David
    Staff
    Customer Support

    Happy to be of help

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