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

  1. videoink
    Posted 2 years 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.


  2. forallatlantis
    Posted 2 years ago #

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

  3. kajari
    Posted 1 year ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Yoast SEO
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic