[Resolved] Breadcrumbs with Yoast not working for me

Home Forums Support [Resolved] Breadcrumbs with Yoast not working for me

Home Forums Support Breadcrumbs with Yoast not working for me

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #1033674
    Norman

    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.

    #1033681
    Norman

    Sorry, but I sent a protected article link. The one below should work for you to be able to see the error I’m getting:

    https://churchletters.org/church-letters/absence-church-letters/we-miss-you-at-church

    #1033695
    Leo
    Staff
    Customer Support

    Hi there,

    This should help:
    https://generatepress.com/forums/topic/adding-breadcrumbs-3/

    Let me know πŸ™‚

    #1033699
    Norman

    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)

    #1033701
    Norman

    Settings in the element:

    2019-10-13_1548

    2019-10-13_1549

    #1033708
    Leo
    Staff
    Customer Support

    Instead of the code that you are currently adding, try adding just the shortcode:
    https://generatepress.com/forums/topic/adding-breadcrumbs-3/#post-1032295

    Let me know πŸ™‚

    #1033711
    Norman

    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.

    #1033713
    Leo
    Staff
    Customer Support

    Weird. It should work by default.

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

    #1033715
    Norman

    Hmm… I can’t get that to work either:
    2019-10-13_1615

    No breadcrumbs show up.

    #1033718
    Leo
    Staff
    Customer Support

    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.

    #1033719
    Leo
    Staff
    Customer Support

    I also see some console errors:
    https://www.screencast.com/t/BTppssq4Pg

    Might be good to disable all plugins except GP Premium and Yoast to test as well.

    #1033720
    Norman

    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.

    #1033721
    Leo
    Staff
    Customer Support

    I’m referring to parent theme and not the previous theme πŸ™‚

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

    #1033722
    Norman

    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.

    #1033724
    Leo
    Staff
    Customer Support

    No problem πŸ™‚

Viewing 15 posts - 1 through 15 (of 15 total)
  • You must be logged in to reply to this topic.