Home » Storefront Theme: How To Remove Breadcrumbs

Storefront Theme: How To Remove Breadcrumbs

by Tutor Aspire

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', 'tutoraspire_remove_storefront_breadcrumbs' );

function tutoraspire_remove_storefront_breadcrumbs() {
   remove_action( 'storefront_before_content', 'woocommerce_breadcrumb', 10 );
}

You may also like