Try the “Remove the breadcrumbs” code from here:
https://docs.woocommerce.com/document/customise-the-woocommerce-breadcrumb/
The code goes in functions.php for your child theme or you can use the “My Custom Functions” plugin.
this code didnt work in functions.php
add_action( ‘init’, ‘jk_remove_wc_breadcrumbs’ );
function jk_remove_wc_breadcrumbs() {
remove_action( ‘woocommerce_before_main_content’, ‘woocommerce_breadcrumb’, 20, 0 );
}
-
This reply was modified 8 years, 11 months ago by
tkaboris.
Hi,
You can also use CSS to hide this element from your pages adding the custom CSS code to your CSS Customizer due to the following instructions:
From you admin panel menu go to Appearance >Customize > Additional CSS and paste your own code there:
.breadcrumbs{
display:none;
}
I hope that will help you
M