Implement Yoast SEO breadcrumbs

The following information is written for advanced users and developers.

The steps below are a temporary solution as manual edits made to theme files may be overwritten with future theme updates. Please contact the theme developer for a permanent solution.

We've written an article about the importance of breadcrumbs for SEO. To implement the breadcrumbs function in Yoast SEO, you will have to edit your theme. Copy the following code into your theme where you want the breadcrumbs to be:

if ( function_exists('yoast_breadcrumb') ) {
  yoast_breadcrumb( '<p id="breadcrumbs">','</p>' );

Common places where you could place your breadcrumbs are inside your single.php and/or page.php file just above the page's title. Another option that makes it really easy in some themes is by just pasting the code in header.php at the very end.

Get access to our kick-ass support team with Yoast SEO Premium

In most themes, this code snippet should not be added to your functions.php file. If you have trouble locating the correct place to add the code, please contact the theme developer for assistance.

Alternatively, you can manually add the breadcrumb shortcode to individual posts or pages.


Enable and Configure the Yoast BreadCrumbs

After that, go to SEO → Search Appearance → Breadcrumbs and enable the breadcrumbs.

Yoast SEO offers a breadcrumb feature. This feature is disabled by default as you or your theme developer must add code to your theme files. After that, go to SEO → Search Appearance → Breadcrumbs and enable the breadcrumb feature.

  1. Log in to your WordPress website.

    When you're logged in, you will be in your 'Dashboard'.

  2. Click on 'SEO'.

    On the left-hand side, you will see a menu. In that menu, click on 'SEO'.

  3. Click on 'Search Appearance'.

    The ‘SEO’ settings will expand providing you additional options. Click on 'Search Appearance'.
    Admin SEO Search Appearance

  4. Click on the 'Breadcrumbs' tab.

  5. Toggle the 'Breadcrumbs' switch.

    To add Yoast breadcrumbs, toggle the switch to 'Enabled'.
    To remove Yoast breadcrumbs, toggle the switch to 'Disabled'.

  6. If enabling, configure the settings to your preference.

  7. Click ' Save changes'.

Theme Developer

If you are a theme developer you may need to take one additional step to complete the integration with Yoast SEO Breadcrumbs by adding the filter explained here.

Breadcrumb Configuration

To configure the breadcrumbs please use this guide

Replace WooThemes Breadcrumbs

To replace WooThemes Breadcrumbs use this guide.

Was this article helpful? ·