How to Change WooCommerce Breadcrumb “Home”
-
I am using the Divi theme, which has a bunch of dynamic modules synced with WooCommerce. I am specifically using the WooCommerce “Breadcrumbs” module at the top of all my product category pages to help people navigate back to the “Shop” page. However, for some reason, the “All Products” link is sending people to the homepage of my website, not the Shop page. I can’t seem to find a setting anywhere in Divi or WooCommerce that would change this. I googled and tried to find a solution without any code, but I couldn’t find anything. Eventually, I stumbled upon a WooCommerce article that suggested adding this code to the functions.php:
filter( 'woocommerce_breadcrumb_home_url', 'woo_custom_breadrumb_home_url' ); function woo_custom_breadrumb_home_url() { return 'https://marylandsutler.com/shop/'; }
I added this as instructed, but it didn’t work.
Does anyone else know how to do this?
The page I need help with: [log in to see the link]
- The topic ‘How to Change WooCommerce Breadcrumb “Home”’ is closed to new replies.