WordPress.org

Ready to get started?Download WordPress

Forums

WordPress SEO by Yoast
Replace Woocommerce Breadcrumbs with Yoast Breadcrumbs Not Working (3 posts)

  1. videoink
    Member
    Posted 9 months ago #

    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/

  2. forallatlantis
    Member
    Posted 9 months ago #

    It doesn't work for me too. I'm using a simple Woo themes and it doesn't work properly.

  3. kajari
    Member
    Posted 5 months ago #

    any luck? I have tried the yoast woocommerce seo add on and still no luck

Reply

You must log in to post.

About this Plugin

About this Topic