-
-
Save billerickson/5d94ebd52872f6c9a0226e9d98b064c1 to your computer and use it in GitHub Desktop.
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
<?php | |
function be_add_blog_crumb( $crumb, $args ) { | |
if ( is_singular( 'post' ) || is_category('xxx-lists') ) | |
return '<a href="/xxx-overview-page/" rel="nofollow">Overview Page</a> ' . $args['sep'] . ' ' . $crumb; | |
else | |
return $crumb; | |
} | |
add_filter( 'genesis_single_crumb', 'be_add_blog_crumb', 10, 2 ); | |
add_filter( 'genesis_archive_crumb', 'be_add_blog_crumb', 10, 2 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment