Last active
August 4, 2019 06:58
-
-
Save wpspeak/dfa7ed895b01aaf8d7bd to your computer and use it in GitHub Desktop.
Remove 'You are here' texts in Genesis Framework breadcrumb
This file contains hidden or 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
<?php | |
//* Remove 'You are here' texts in Genesis Framework breadcrumb | |
add_filter( 'genesis_breadcrumb_args', 'afn_breadcrumb_args' ); | |
function afn_breadcrumb_args( $args ) { | |
$args['labels']['prefix'] = ''; | |
return $args; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment