Tagged: breadcrumbs
HI. I need to change the breadcrumb navigation for a WooCommerce store in Enfold – we have set up unique product display pages using Advanced Template Editor which lead direct to individual product pages. I now need the breadcrumb navigation to stop using the Product Categories and reflect the new Page hierarchy. How do I do that?
Hey Adrian!
Thank you for using Enfold.
Could you please elaborate it a bit further? A a link to the page and a screenshot of the breadcrumb layout will help. You can use the “avia_breadcrumbs_trail” filter in order to alter the breadcrumb trail. Example:
Add this code in the functions.php file to disable the default woocommerce breadcrumb:
add_action('after_setup_theme','avia_remove_portfolio_breadcrumb');
function avia_remove_portfolio_breadcrumb(){
remove_filter('avia_breadcrumbs_trail','avia_woocommerce_breadcrumb');
}
The avia_woocommerce_breadcrumb function is located on config-woocommerce > config.php.
Best regards,
Ismael