I tried to remove breadcrumbs from homepage because it looks really ugly, but i can't do this because conditionals don't work. *I took that from woocommerce docs
add_action( 'init', 'wcc_remove_woo_wc_breadcrumbs' );
function wcc_remove_woo_wc_breadcrumbs() {
if ( is_home() || is_shop() || is_front_page() ) {
remove_action( 'woo_main_before', 'woo_display_breadcrumbs', 10 );
}
}
Line
remove_action( 'woo_main_before', 'woo_display_breadcrumbs', 10 );
works correct, but unfortunatelly conditional tags don't. Do you have any ida on woocommerce shop page as homepage?
woo_main_before
action is executed once per request, you can try changeadd_action( 'init', 'wcc_remove_woo_wc_breadcrumbs' );
toadd_action( 'woo_main_before', 'wcc_remove_woo_wc_breadcrumbs', 9 );
. Maybe this question will prove useful.