How to remove Woocommerce breadcrumb bar ?

In this tutorial we’ll learn how to remove breadcrumb bar in woocommerce. These are default screen for shop and product page.

Here you can see the breadcrumb bar on top of pages. Now we need to remove it. To do so please add the following line of code at the end of your theme’s functions.php

remove_action( 'woocommerce_before_main_content', 'woocommerce_breadcrumb', 20);

This code will remove the breadcrumb bar. Save the file and refresh page.

Here you can see the breadcrumb bar removed:

About the author

We provide WordPress & WooCommerce Support, Maintenance and Development Services.
1 Response

Leave a Reply

Get New WordPress & WooCommerce Code Snippets! (Weekly)

We find new codes snippets to improve your existing Websites.