Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #342083

    Hi

    i ‘m trying to redefine the breaadcrumb for woocommerce shop and product page
    hence i try to remove the existing filter and adding my custom filter.
    but nothing is happening, the old filter is still running and my custom filter does not run

    is it the correct way to this :
    remove_filter(‘avia_breadcrumbs_trail’, ‘avia_woocommerce_breadcrumb’);
    add_filter(‘avia_breadcrumbs_trail’, array(&$this,’custom_woocommerce_breadcrumb’), 10, 2);

    thanks

    #343058

    Hey Voilaah!

    You could try this plugin: https://wordpress.org/plugins/breadcrumb-navxt/
    Much easier and lots of options.

    Regards,
    Andy

    #343189

    Thks Andy,

    i managed to use the filter finally, problem or loading ordering

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

The topic ‘breadcrumb woocommerce’ is closed to new replies.