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…
I added this to my stylesheet
.single-product p#breadcrumbs {
display: none;
}
And it worked for me.
That works but is a very bad practice…You should follow the guide on the other thread you posted on.
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
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://ww.wp.xz.cn/support/topic/replacing-woocommerce-breadcrumbs-with-yoast-seo-ones
James 🙂