A simple, powerful and independent e-commerce platform.
Sell anything with ease.

Change the breadcrumb separator

This code changes the separator in the breadcrumb, for example from the / to the > symbol.

		/**
 * Change the breadcrumb separator
 */
 
add_filter('woocommerce_breadcrumb_defaults', 'cc_change_breadcrumb_delimiter');

function cc_change_breadcrumb_delimiter($defaults) {

// Change the breadcrumb delimiter from '/' to '>'
  $defaults['delimiter'] = ' > ';
  return $defaults;

}
	
View Raw Code ID: 9974