• Hi,

    I own two sites:

    In the last update of the theme you have included Yoast breadcrumb support. I don’t want the breadcrumbs shown so I have figured out that I need to undo your theme support line:

    /* Add support for Yoast SEO breadcrumbs */
    add_theme_support( ‘yoast-seo-breadcrumbs’ );

    Since I use a child thme I added the following in my child theme’s functions.php:

    function eb_apl_remove_yoast_seo_breadcrumbs() {
    remove_theme_support( ‘yoast-seo-breadcrumbs’ );
    }
    add_action( ‘after_setup_theme’, ‘eb_apl_remove_yoast_seo_breadcrumbs’, 11 );

    This worked perfectly on my Dutch site and don’t see it in the Customizer either.
    On my English site however the breadcrumbs still exist and I see the option in the theme Customizer, while the function

    current_theme_supports( ‘yoast-seo-breadcrumbs’ )

    returns false.

    Could you give some directions? I’m kinda lost.

    Thanks in advance,
    Erwin Barendregt

    • This topic was modified 4 years, 10 months ago by apoplife.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Theme Author silverks

    (@silverks)

    You may just remove these lines from Graphene:

    /* Add support for Yoast SEO breadcrumbs */
    add_theme_support( ‘yoast-seo-breadcrumbs’ );
    

    In the next theme update, we’ll remove the theme support for Yoast breadcrumbs as well due to this unintended consequence, so you don’t have to worry about the change being overwritten when the theme is updated.

    • This reply was modified 4 years, 10 months ago by silverks.
    • This reply was modified 4 years, 10 months ago by silverks.
    Thread Starter apoplife

    (@barates)

    Ok, thanks! Do you have an (approximate) date for a new release?

    BTW: Keep up the good work. Love the theme!

    Theme Author silverks

    (@silverks)

    We are targeting a release date some time in the next week.

    Thread Starter apoplife

    (@barates)

    Ok, thank you for the quick reply!

    By the way, unfortunately your suggestion doesn’t work either. It’s strange that somehow the theme and the plugin still act as if the setting is still active.

    I have deleted all the ‘%_transient_%’ values from the options table as well. I don’t understand where it’s coming from. I’ll wait for the upcoming theme release!

    • This reply was modified 4 years, 10 months ago by apoplife.
    • This reply was modified 4 years, 10 months ago by apoplife.
    Theme Author silverks

    (@silverks)

    After removing those lines, you should be able to toggle the breadcrumbs feature via WP Admin > SEO > Search Appearance > Breadcrumbs.

    Thread Starter apoplife

    (@barates)

    I’m sorry, you’re right. I see it. Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Disabling yoast breadcrumb support’ is closed to new replies.