Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
[Frontend Snippets][Customize the WooCommerce breadcrumb] Change several breadcrumb defaults
* Change several of the breadcrumb defaults
add_filter( 'woocommerce_breadcrumb_defaults', 'jk_woocommerce_breadcrumbs' );
function jk_woocommerce_breadcrumbs() {
return array(
'delimiter' => ' / ',
'wrap_before' => '<nav class="woocommerce-breadcrumb" itemprop="breadcrumb">',
'wrap_after' => '</nav>',
'before' => '',
'after' => '',
'home' => _x( 'Home', 'breadcrumb', 'woocommerce' ),
Copy link

Asanka8888 commented Jan 20, 2021


Please can you advise how to remove product title from the single product page breadcrumb


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment