Implement Yoast SEO breadcrumbs

Warning: 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.

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:

<?php 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.

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.

After that, go to SEO Settings → Advanced → Breadcrumbs and enable the breadcrumbs.

Log in to your WordPress website. When you're logged in, you will be in your 'Dashboard'. On the left-hand side, you will see a menu. In that menu, click on 'SEO'.
The 'SEO' settings will expand providing you additional options. Click on 'Advanced'.

Click on the 'Breadcrumbs' tab and check 'Enable Breadcrumbs'. Adjust settings to your preference.

Click 'Save Changes'.

Still need help? Contact Us Contact Us