WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
Remove breadcrumb from shop 'homepage' (32 posts)

  1. aoife1
    Member
    Posted 10 months ago #

    Thank you hueyapan. Worked a treat! :)

  2. Seahawksean
    Member
    Posted 10 months ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic