remove Woocommerce breadcrumbs

Asked on September 5, 2015 in Customization.

I’m trying to remove Woocommerce breadcrumbs
first i was working without child theme and then when searching how to remove the breadcrumbs i read that a child theme is needed if i want to make changes to functions.php, btw… after moving to the new child theme it was look like all settings from previous theme like home page layout moved to the new child theme.
I made a child theme that have the following files:


and i edited the functions.php and now its look like this:


// Custom Functions Go Below
add_filter( 'layers_customizer_control_defaults', 'layers_child_customizer_defaults' );
function layers_child_customizer_defaults( $defaults ){
$defaults = array(

'body-fonts' => 'Open Sans',

'form-fonts' => 'Montserrat',

'header-menu-layout' => 'header-logo-top',

'header-background-color' => '',

'site-accent-color' => '#f00',

'footer-background-color' => '',

'header-width' => 'layout-fullwidth',

'header-sticky' => '1',

'heading-fonts' => 'Montserrat',

'footer-sidebar-count' => '0',

return $defaults;


//remove woocommerce breadcrumbs
add_action( 'init', 'jk_remove_wc_breadcrumbs' );

function jk_remove_wc_breadcrumbs() {

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


but the breadcrumbs are still there…
anyone can help me remove the breadcrumbs please …
did I done the child theme good ?

nonick95 Layers User
  • Possible Answers to Your Question:

  • 1 Answer(s)
    Answered on September 8, 2015.

    Hi there,

    WooCommerce breadcrumbs are not output in Layers. The breadcrumbs shown on the Shop/category pages are from Layers via the layers_bread_crumbs() function.  To hide these on shop pages, you would do it with CSS, ie:

     .woocommerce .bread-cumbs{display: none;}

    This does not require a child theme and can be placed in the CSS panel in the Customizer.

    that works

    .bread-crumbs{display: none;}



    it removed the layers bread crumbs.

    i wonder how can i output the woocommerce bread crumbs ?

    on October 13, 2015.

    Hi there,

    Make sure you use the .woocommerce class or the bread crumbs will be removed from the blog and other places where they are useful.

    WooCommerce template tags can be found on their codex here:

    To output them in Layers in the same spot as the Layers breadcrumbs, you need a child theme and a custom function that hooks into one of these locations

    on October 15, 2015.