Add Yoast breadcrumbs to the Beaver Builder theme

You can easily add a breadcrumb provided by the Yoast SEO plugin to your Beaver Builder child theme. There are two versions of the code: the first displays the breadcrumb on all pages and posts on your site. The second displays the breadcrumb everywhere except a static home page.

Note: See this article about why you need the child theme.

  1. Enable Yoast breadcrumbs by clicking SEO > Search Appearance > Breadcrumbs on the WordPress admin panel, then on the Breadcrumbs tab click Enabled in the Breadcrumbs settings section.
  2. Add one of the following sets of code to your child theme’s functions.php file.
    1. To have the breadcrumb appear throughout your site, add the following code to your child theme’s functions.php file.
    2. To have the breadcrumbs appear on all pages and posts except your static home page, add the following code.

Tip: You can get more fine-grained control over where the breadcrumb appears on your site by using Beaver Themer.