Support » Plugin: Yoast SEO » Enabling breadcrumbs network wide on multisite using "restore defaults" setting?

  • Resolved joycegrace

    (@joycegrace)


    Hello,
    I have a question about enabling breadcrumbs across a network on WordPress multisite.

    I am trying to check “enable breadcrumbs” under the “Advanced” tab on one of the site’s settings.

    Then I’m going to the Multisite settings to “restore defaults” based on that site where I’ve enabled breadcrumbs.

    It doesn’t seem to be taking effect, though we have added the required code to our template.

    I see that there is a note about certain site-specific settings that would not be updated, which are related to things like privacy and site titles. But I’m not sure why breadcrumbs in a template can’t be over-written or ‘forced’ on in a network.

    Is there a way to do this some other way?

    We can go in one-by-one on each site in the network to click “enable breadcrumbs.”

    But as you can tell this is cumbersome on a network with dozens of sites on it. They all share the same themes, give or take a few.

    But we still can’t get the code in the theme template to ‘force’ on the breadcrumbs, if you know what I’m trying to say.

    This is code we’ve used so far, if it helps at all in solving this:

    <div class="the-breadcrumbs">
    	<div class="wrap">
      <?php if ( function_exists('yoast_breadcrumb') )
      {yoast_breadcrumb('<p id="breadcrumbs">','</p>');} ?>
      </div>
    </div>

    Thank you so much for any help you can offer in resolving this.

    We are on Version 2.3.5 of the plugin – I know it’s outdated but having trouble updating on the network at the moment. We will try again when we can update. But do you think this is part of a bug on an older version?

    https://wordpress.org/plugins/wordpress-seo/

  • The topic ‘Enabling breadcrumbs network wide on multisite using "restore defaults" setting?’ is closed to new replies.