Support » Plugin: WooCommerce » Remove breadcrumb from shop 'homepage'

Viewing 31 replies (of 31 total)
  • Riddle me this…

    I’m using Customizr theme and I’ve successfully removed the woocommerce breadcrumbs using remove_action('woocommerce_before_main_content', 'woocommerce_breadcrumb', 20, 0); in my functions.php.

    But how to I replace that with my theme’s breadcrumbs which also uses a hook.

    My theme just released a new update and now uses the hook <?php do_action( '__before_main_container' ); ?>. I’ve tried adding add_action('woocommerce_before_main_content', '__before_main_container', 20 ); in the functions.php. I’ve also tried adding `<?php do_action( ‘__before_main_container’ ); ?>’ in single-product.php, as I would to add a saidebar, but that doesn’t work either.

    Anyone know a solution? Thank you in advance for you suggestions.

Viewing 31 replies (of 31 total)
  • The topic ‘Remove breadcrumb from shop 'homepage'’ is closed to new replies.