Yoast breadcrumb not working

Hi,
Sorry if it seems duplicate topic, but I tried previous solutions and they didn’t help me.
I just active Yoast on my website, and trying to use breadcrumbs.
I added theme support code and tried this code in child theme functions.php too:

if ( ! function_exists( ‘x_breadcrumbs’ ) ) :
function x_breadcrumbs() {

if ( x_get_option( 'x_breadcrumb_display', 1 ) && function_exists('yoast_breadcrumb') ) {
  yoast_breadcrumb('<p id="breadcrumbs">','</p>');
} else {
  echo '<p>Please install Yoast Breadcrumb plugin.</p>';
}

}
endif;

my website is: https://pinbeez.com/shop

Please

Hey Patrick,

The X Breadcrumbs only applies to the Original Header. You’re currently using a Pro Header. What you could do in Pro is insert the Yoast SEO Breadcrumbs shortcode if that is available. Please contact Yoast SEO support for that.

If you’re going to use the Original Header, you need to ensure that the Breadcrumbs option in Theme Options > Header is enabled.

image

The code you showed us works as you can see in the screenshot below. By “works”, I mean that overriding the X Breadcrumbs Function works. It’s the Yoast SEO breadcrumbs that doesn’t work. Please contact Yoast SEO support for this and show them the screenshots.

image

image

Hope that helps.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.