Site logo

Archived topic

Breadcrumbs with Yoast not working for me

14 replies · Started by Norman on October 13, 2019

Viewing posts 1–15 of 15

Hello,

Wondering if you can help with putting breadcrumbs in? It worked with my previous theme and yoast, but can't seem to get it to work with GP -

Followed directions from this page on yoast: https://kb.yoast.com/kb/implement-wordpress-seo-breadcrumbs/
Added this code: <?php
if ( function_exists('yoast_breadcrumb') ) {
yoast_breadcrumb( '<p id="breadcrumbs">','</p>' );
}
?>

Used the info from the GP documentation here: https://docs.generatepress.com/article/adding-breadcrumbs/

Here's what I get: https://www.screencast.com/t/i3j2VmsSXv

Any ideas how I can fix this? It "seems" I've done things correctly, but evidently not.

So there is shortcode to add too? I don't see that anywhere in the directions. Thanks for pointing me to this, but so far, I can't get it to work.

(Not sure if I should respond on that post, or this one)

I'm adding this shortcode: [wpseo_breadcrumb]

Nothinng is coming up for me and I do have Yoast activated and I don't use caching.

Weird. It should work by default.

Then add your original code, then check to execute PHP instead.

Can you activate the parent theme temporarily and see if it makes a difference?

If not you will likely need to check with Yoast's support. I don't see their code showing up at all with either method so something.

I would rather not activate the previous theme. It gave me much trouble although the breadcrumbs did work.

I'm waiting to hear back from Yoast on a possible answer.

I'm referring to parent theme and not the previous theme :)

Looks like you are using a child theme, try activating the parent theme.

Sorry. For some reason, Breadcrumbs was not activated in Yoast. I thought it would be fine, but perhaps when installing a new theme, it deactivates first.

My bad!

Appreciate your help.

No problem :)

This archived topic is closed to new replies.