How to remove WooCommerce breadcrumbs?

WooCommerce is one of the popular eCommerce platform which comes with many built-in features including breadcrumbs. But some themes doesn’t support them. So, you may want to remove this feature.

Useful Read:  How to remove “Add to Cart” button on product listing pages in WooCommerce?

REMOVING BREADCRUMBS IN WOOCOMMERCE

To remove the breadcrumbs feature, insert the following WordPress code snippet in your functions.php file.

//Remove WooCommerce breadcrumbs
remove_action('woocommerce_before_main_content', 'woocommerce_breadcrumb', 20, 0);

 

0 Comments

Leave a Comment.