- This topic has 21 replies, 3 voices, and was last updated 12 months ago by David.
October 11, 2020 at 5:09 am #1483113Deirdre
I have had breadcrumbs on and off on my website as I hadn’t gotten around to creating a child theme and the breadcrumbs kept getting wiped as the only way it worked to implement them was by enabling them in Yoast and adding them directly to my posts.php file.
I just created a child theme after breadcrumbs had disappeared again and I have tried pretty much everything available in the forum and cannot get breadcrumbs to display at all via hooks? E.g. I have followed all the instructions on this page: https://docs.generatepress.com/article/adding-breadcrumbs/October 11, 2020 at 7:59 am #1483415LeoStaffCustomer Support
Have you tried the hooks element method?
That does not require a child theme.October 14, 2020 at 4:45 am #1488315Deirdre
As I said in the above comment, I already tried both ways to get breadcrumbs on the adding-breadcrumbs page (hook and function), and neither work.October 14, 2020 at 5:09 am #1488349DavidStaffCustomer SupportOctober 14, 2020 at 6:55 am #1488488Deirdre
Hi yes I had that method implemented before and it wasn’t working, now I’ve tried it with the shortcode Support Cannot get breadcrumbs to show in GP Premium Theme Reply To: Cannot get breadcrumbs to show in GP Premium Theme and it appears but it appears in a weird place at the top of the text but below the photo and jump to recipe buttons. Is there no way to have it automatically appear? e.g. on this page https://www.thefieryvegetarian.com/peri-peri-sauce-recipe/October 14, 2020 at 7:03 am #1488506DavidStaffCustomer SupportOctober 14, 2020 at 7:12 am #1488529Deirdre
Above my title would be great but is there no way for the breadcrumbs to show up automatically on posts without manually inserting a shortcode?October 14, 2020 at 8:34 am #1488792DavidStaffCustomer Support
It should work by adding it to a Hook Element.
You can add the Shortcode to the hook text area.
Visual guide of hooks here
Check Execute Shortcodes.
And set your Display Rules to where you require them eg. Posts > All posts.October 16, 2020 at 3:27 am #1491667Deirdre
Hi sorry that still does not work. The breadcrumbs still show up below the jump to recipe button instead of above the title, and they do not appear on pages unless I actually manually add the shortcode.October 16, 2020 at 3:50 am #1491694DavidStaffCustomer SupportOctober 16, 2020 at 4:09 am #1491722Deirdre
Hi I’ve tried the before_entry_title hook as well and no go. I played around with it and the long and short of it is that the breadcrumbs will only appear in a post if I manually insert Support Cannot get breadcrumbs to show in GP Premium Theme Reply To: Cannot get breadcrumbs to show in GP Premium Theme (which I can’t insert above the title from the wordpress post edit page, otherwise that would be okay). Without manually inserting the shortcode they don’t appear at all.October 16, 2020 at 4:19 am #1491730DavidStaffCustomer SupportOctober 16, 2020 at 7:02 am #1491910Deirdre
Sure, but what should we use to share screenshots, it looks like I can only include img urls?October 16, 2020 at 7:10 am #1491933DavidStaffCustomer SupportOctober 16, 2020 at 7:25 am #1491947
- You must be logged in to reply to this topic.