• Sharon

    (@prettybiddy)


    I think there is a problem in Make with the integration with Yoast SEO.
    I just noticed that suddenly the Yoast breadcrumbs are being added to all my site pages and I totally don’t want that. In the Yoast Advanced options there is no option to *not* use breadcrumbs. Same thing in the Customizer.

    Note here on the front page the “Home” which I totally don’t want (nor the space on the page it takes up). How do I get rid of Yoast breadcrumbs on my site pages?

    https://willowtreeantiquesandgifts.com/

Viewing 14 replies - 1 through 14 (of 14 total)
  • Thread Starter Sharon

    (@prettybiddy)

    I commented out the breadcrumb code in template-tags.php but it would be nice if I didn’t have to do this.

    /**
    * Add the Yoast SEO breadcrumb, if the plugin is activated.
    *
    * @since 1.6.4.
    *
    * @return void
    */
    function ttfmake_yoast_seo_breadcrumb() {
    if ( function_exists( ‘yoast_breadcrumb’ ) ) {
    $key = ‘layout-‘ . ttfmake_get_view() . ‘-yoast-breadcrumb’;
    $option = absint( get_theme_mod( $key, ttfmake_get_default( $key ) ) );
    /**
    if ( 1 === $option || is_404() ) {
    yoast_breadcrumb( ‘<p class=”yoast-seo-breadcrumb”>’, ‘</p>’ );
    }
    */
    }
    }

    I used this to quickly hide it until I’ve got time to look into it more (time for bed!):

    .yoast-seo-breadcrumb {
    	display: none;
    }

    I added it in the ‘edit css’ page, which is handy for these kind of things.

    It would be nice to have a tick box to enable/disable it in the customise section for ‘Yoast SEO Breadcrumbs’ though for sure!

    Thread Starter Sharon

    (@prettybiddy)

    Hi Nommo – Thank you for that – it is better to add custom CSS than to edit the PHP code but we shouldn’t have to do either probably ??

    If it’s enabled through the Yoast plugin, it will display on the the site with the latest update of Make…

    It didn’t occur to us that folks would enable it and then not want to display it! I’ll pass your feedback on to the team though!

    Thanks for the CSS fix, Nommo. I, too, can’t seem to disable the Yoast breadcrumbs feature.

    Thread Starter Sharon

    (@prettybiddy)

    Melissa – you can’t disable it or enable it any more as the checkbox has disappeared to control this (on the Advanced – Yoast SEO page). This a problem with Make, not Yoast.

    Agreed, Sharon: there is no checkbox.

    I tried adding Nommo’s fix in appearance/editor, and it did nothing. Is this the right place to edit css? I just added it at the end of what was there. I’m a total newbie.

    Thread Starter Sharon

    (@prettybiddy)

    mwilhoite – I use “Simple Custom CSS” plugin to add custom CSS and that works

    Sharon, I installed the Simple Custom CSS plugin–thanks for that..but neither your code above, nor Nommo’s smaller code worked. What am I missing?

    Sorry, you’ll find the options to hide them on posts and pages in the Customizer under Layout → Posts and Layout → Pages.

    I’ll work on getting the documentation up to date on this. ??

    AHH!! Thank you Melissa! That did the trick. I’ve now learned what “breadcrumbs” are!! ??

    Thread Starter Sharon

    (@prettybiddy)

    OK then – Thank you!

    Thanks Nommo for the fix and Melissa for the place to put the fix!!!

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Can't Disable Yoast SEO Breadcrumbs’ is closed to new replies.