Last active
November 9, 2016 15:02
-
-
Save jameskoster/5849055 to your computer and use it in GitHub Desktop.
WooCommerce - change breadcrumb home text
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_defaults', 'jk_change_breadcrumb_home_text' ); | |
function jk_change_breadcrumb_home_text( $defaults ) { | |
// Change the breadcrumb home text from 'Home' to 'Apartment' | |
$defaults['home'] = 'Apartment'; | |
return $defaults; | |
} |
I can not figure out where the file is , in 3.8.1 WP and Woocommerce 2.X
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I cannot for the life of me get this to work. Can you think of anything that could conflict with this? Am using Canvas child theme, with very few customizations. Could the permalink structure play a role?