WordPress.org

Forums

WooCommerce - excelling eCommerce
Remove breadcrumbs (6 posts)

  1. emielm
    Member
    Posted 2 years ago #

    Hi,

    There are some old posts here in the support section about removing woocommerce breadcrumbs, but not one of those includes the right way to achieve this in woocommerce 2.0.x, so I am posting this issue again:

    Please provide instructions to remove the woocommerce(2.0.x) breadcrumbs from every shop page/sitewide.

    Thanks in advance for your reply!

    http://wordpress.org/extend/plugins/woocommerce/

  2. lmoore11608
    Member
    Posted 2 years ago #

    I want to remove or reconfigure how breadcrumbs show up.

    I am using Yoast Breadcrumbs plugin for all of my pages. I want to to link certain pages as the "parent" of certain products, but since they are two different post types, I know I cant do this, so I would rather just remove them as well.

    I had them gone, but since the last update they have returned...

  3. lmoore11608
    Member
    Posted 2 years ago #

    I added this to my stylesheet

    .single-product p#breadcrumbs {
        display: none;
    }

    And it worked for me.

  4. Roy Ho
    Member
    Posted 2 years ago #

    That works but is a very bad practice...You should follow the guide on the other thread you posted on.

  5. James
    Member
    Posted 2 years ago #

    Been searching for this myself, and eventually found:

    // Remove default WooCommerce breadcrumbs and add Yoast ones instead
    remove_action( 'woocommerce_before_main_content','woocommerce_breadcrumb', 20, 0);

    Now just to find out how to add the Yoast breadcrumb in to replace them!

    Regards, James

  6. James
    Member
    Posted 2 years ago #

    Eventually found the solution for removing the default breadcrumbs and replacing them with the Yoast WP SEO ones instead - see this thread for details:
    http://wordpress.org/support/topic/replacing-woocommerce-breadcrumbs-with-yoast-seo-ones

    James :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce - excelling eCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic