Parabola w/Woocommerce: How to remove breadcrumbs

  • Author
    Posts
  • #49336
    kvalentk
    Power User

    How can I remove the breadcrumbs? I have breadcrumbs off in Parabola. I’ve tried a Woocommerce Breadcrumbs plugin. I’ve tried the following code, found in Woocommerce documentation, entered into functions.php. Nothing works so far. Have any suggestions? The site is in development.

    add_action( ‘init’, ‘jk_remove_wc_breadcrumbs’ );
    function jk_remove_wc_breadcrumbs() {
    remove_action( ‘woocommerce_before_main_content’, ‘woocommerce_breadcrumb’, 20, 0 );
    }

    Website: artcards.gallery

    #49389
    Zed
    Cryout Creations mastermind

    WooCommerce’s breadcrumbs are not something that’s under the theme’s control.

    If that action is still valid in the current plugin releases, perhaps adding a later priority to the init hook add_action( 'init', 'jk_remove_wc_breadcrumbs', 99 ); will resolve the order of the hook/unhook.

    I no longer see breadcrumbs on your site, but if you’re still having issues disabling them I suggest asking for this in the WooCommerce forums.


    If you like our creations, help us share by rating them on WordPress.org.
    Please check the available documentation and search the forums before starting a topic.
    #49397
    kvalentk
    Power User

    Thanks for your answer. I found a solution to enter into functions.php:

    add_filter( ‘woocommerce_get_breadcrumb’, ‘__return_false’ );

    Website: artcards.gallery

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Parabola w/Woocommerce: How to remove breadcrumbs’ is closed to new replies.