Archived topic
Breadcrumb Hook Location not working
5 replies · Started by Paul on January 14, 2020
Hi guys
Using GP Premium, Elementor and Yoast. I'm wanting to add a Breadcrumb nav at the top of the Content region on every page.
I've created a new Elements / Hook and added the Yoast shortcode and set to before_entry_title as per these screens..
https://www.getintheloop.com.au/wp-content/uploads/2020/01/Breadcrumb-hook-01.png
https://www.getintheloop.com.au/wp-content/uploads/2020/01/Breadcrumb-hook-02.png
After clearing all server cache etc the Breadcrumb continues to display tiny at top of the Header...
https://www.getintheloop.com.au/wp-content/uploads/2020/01/Breadcrumb-hook-03.png
Any idea as to why?
Thanks
Hi there,
thats actually the secondary navigation thats being displayed above the header ... ?
Ahh yes you are correct. Not sure how that got enabled but I've disabled displaying that.
Just so you know I've added the GP MegaMenu CSS which we're using just on the 'Services & Programs' menu item.
Still can't work out why the Breadcrumb isn't displaying though?
Thanks
I can see the Breadcrumb on the Hello World post. But I cannot see any other Posts?
If you want to display it on Pages then you need to include Pages in the Element Display rules and choose a different hook ( as Pages don't have that one ): See here:
https://docs.generatepress.com/article/hooks-visual-guide/#static-page
Thanks David - all sorted.
cheers
Glad to be of help