Yoast bredcrumbs not working: I have tried adding:
// Remove default WooCommerce breadcrumbs and add Yoast ones instead
remove_action( ‘woocommerce_before_main_content’,’woocommerce_breadcrumb’, 20, 0);
add_action( ‘woocommerce_before_main_content’,’my_yoast_breadcrumb’, 20, 0);
if (!function_exists(‘my_yoast_breadcrumb’) ) {
function my_yoast_breadcrumb() {
yoast_breadcrumb(‘<p id=”breadcrumbs”>’,'</p>’);
}
}
to my functions.php page, but the woocommerce breadcrumbs are still there.
I have SEO Yoast plugin installed, used internal links settings to create yoast breadcrumbs..NOTHING works. Any help would be greatly appreciated.
I’m about to lose it..