Created
February 8, 2013 17:46
-
-
Save jameskoster/4740660 to your computer and use it in GitHub Desktop.
WooCommerce - Change the breadcrumb home url
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_filter( 'woocommerce_breadcrumb_home_url', 'woo_custom_breadrumb_home_url' ); | |
function woo_custom_breadrumb_home_url() { | |
return 'http://woothemes.com'; | |
} |
i was going to skip even trying this code after reading mrseoliveira's comment just above but, luckily, copying the code presented at the top of this post, replacing the woothemes url with mine, and pasting it to the top of my functions.php worked perfectly.
many thanks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I want to redirect the Home button to the store home, but it's always going to the homepage..