Add theme support for Yoast SEO breadcrumbs
If your theme declares support for
yoast-seo-breadcrumbs, Yoast SEO will render breadcrumbs for you in the location of your choice. Plus, users of your theme will automatically get a Customizer component to customize their breadcrumbs to their liking.
If you want your theme to support Yoast breadcrumbs, follow the steps in our Yoast SEO Breadcrumbs implementation guide. After you've made sure breadcrumbs appear on every page and look nice, you can add the following bit of code to your theme's
add_theme_support( 'yoast-seo-breadcrumbs' );
That's all. As soon as you add that to your theme, breadcrumbs will be enabled immediately (the "enable" checkbox will actually disappear). So as soon as one of your themes users installs and activates Yoast SEO, the breadcrumbs will start working.
The customizer panel looks like this:
As you can see: easy does it.