Archived topic
Blog Page Breadcrumb Positioning Wrong
3 replies · Started by Michael on February 15, 2020
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.
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.
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!
Happy to be of help