Storefront is the most compatible theme when it comes to building a WordPress eCommerce website. Following the best practices Storefront displays Breadcrumb navigation at the top of every product pages. But some store owners think they are better off without this extra navigation item.

In this tutorial, we will see how we can completely remove breadcrumb navigation from Storefront WooCommerce theme.

PHP Snippet: Remove Breadcrumbs (Storefront Theme)

add_action( 'init', 'bbloomer_remove_storefront_breadcrumbs' );

function bbloomer_remove_storefront_breadcrumbs() {
   remove_action( 'storefront_before_content', 'woocommerce_breadcrumb', 10 );
}
Share:

Leave a Reply