Support » Plugin: Yoast SEO » Replace Woocommerce Breadcrumbs with Yoast Breadcrumbs Not Working

  • Posted this in a resolved topic- hopefully this post will get answer.
    I have used:
    // 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>’);
    }
    }
    inserted it into my functions.php..it’s not working. Woocommerce breadcrumbs still there. I’m at a loss for solutions. Any help would be greatly appreciated.

    http://wordpress.org/plugins/wordpress-seo/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Replace Woocommerce Breadcrumbs with Yoast Breadcrumbs Not Working’ is closed to new replies.