- This topic has 17 replies, 2 voices, and was last updated 7 years, 10 months ago by
Malcolm.
-
AuthorPosts
-
May 17, 2018 at 1:33 am #577758
Malcolm
I’m having trouble showing the complete hierarchy of pages in my location breadcrumb. See https://malagaeast.com/nerja-caves-of-nerja/ (I’m using Yoast’s breadcrumb plugin).
I think it should show: Home > The Villages > Coastal > Nerja >Where to visit>Nerja caves
I’ve read that breadcrumbs don’t work with all themes. However, as part of my breadcrumb seems to be displayed, I don’t think that’s wholly the case with GeneratePress.
Any ideas, what might be going wrong (or what I might be doing wrong!)?
Regards
MalcolmMay 17, 2018 at 4:25 am #577851David
StaffCustomer SupportHi Malcom,
go to the Yoast > Search Appearance > Bread crumbs tab and then look for: Taxonomy to show in breadcrumbs for content types. Here you can add Categories to your Posts.
May 17, 2018 at 4:41 am #577858Malcolm
Hi David
Thanks for that, but I had already put that one in… I wonder whether it’s one of the other fields that I’ve left blank (i.e. under both ‘Taxonomy to show in breadcrumbs for content types’ or ‘Content type archive to show in breadcrumbs for taxonomies’)? At the moment they’re just reading ‘None’.
May 17, 2018 at 7:29 am #577969David
StaffCustomer SupportHi Malcom, can you check you have the latest version of Yoast?
May 17, 2018 at 7:37 am #577973Malcolm
Hi David, Yes, I’ve just updated to version 7.5.1
May 17, 2018 at 9:16 am #578140David
StaffCustomer SupportHi Malcom, sorry for the delay, i wanted to check to see if there were any update issues, for me i cant replicate the problem, can you try #1 here:
https://docs.generatepress.com/article/debugging-tips/
If the issue still persists you may need to raise a support ticket with Yoast
May 17, 2018 at 10:39 am #578217Malcolm
Hi David
I turned off all the plugins as suggested, but doing that meant that Yoast’s breadcrumb didn’t show up because I put it on the page via a widget in Elementor, the page builder I use! When I turned Elementor back on, the breadcrumb was as before, so I guess that might indicate that Elementor is the problem.
I’d be surprised if Elementor’s clashing with one of the major plugins on the market – Yoast – though. I’ve been quite happy with Elementor so far, it seems to have played nice with all the other plugins – in fact the reasons I got GeneratePress was on the recommendation of Elementor!
I’m not sure how to test if Elementor’s the problem though… (I tried turning on SiteOrigin Page Builder and turning off Elementor, but everything on the page just disappeared!). Ahh!
May 17, 2018 at 11:41 am #578244David
StaffCustomer SupportYou can try adding the breadcrumb code to the GP Hooks – use the after header hook
May 17, 2018 at 1:16 pm #578325Malcolm
That sounds way beyond my pay grade, I’m going to have to research that one!
May 17, 2018 at 1:22 pm #578327David
StaffCustomer SupportOK, so make sure you have hooks activated, under Appearance > GenearatePress. This will give you the Appearance > GP Hooks menu.
Look for the After Header Hook. And add this code:
<?php if ( function_exists('yoast_breadcrumb') ) { yoast_breadcrumb(' <p id="breadcrumbs">','</p> '); } ?>Check the Execute PHP and Save. Then let us know the result.
May 17, 2018 at 1:27 pm #578329Malcolm
OK, thanks, will get back to you with the results in the morning!
May 21, 2018 at 2:18 am #580551Malcolm
Sorry for the delay David, the weekend got in the way!
I’ve put the code in that you suggested. While I’m happy that I don’t now have to keep putting in the Yoast widget into every page to enable its breadcrumb, it’s still not showing the full hierarchy…
I really don’t understand why it doesn’t work in the same way as the top menu which clearly follows the hierarchy of pages? Or am I missing something?
May 21, 2018 at 4:06 am #580598David
StaffCustomer SupportHi Malcom, i set up a new test site, using the following settings:
Settings > Permalinks:
Common Settings: Post Name
Optional: Category and Tags bases both left blank.SEO > Search Appearance:
Categories left as default
Breadcrumbs, Show Blog Page Enabled, Taxonomy to show in breadcrumbs for content types, only Post (post) is set to Category. Rest as default.Can you text or confirm these settings?
May 21, 2018 at 4:24 am #580619Malcolm
Hi, I can confirm that these are now my settings. No change to appearance of the breadcrumbs on my site though…
May 21, 2018 at 4:37 am #580625David
StaffCustomer SupportHi Malcolm, apologies but i have exhausted all my ideas on this, I would recommend you raise a support ticket with Yoast.
Let us know
-
AuthorPosts
- You must be logged in to reply to this topic.