Skip to content

Instantly share code, notes, and snippets.

@billerickson
Created May 10, 2018 19:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save billerickson/5d94ebd52872f6c9a0226e9d98b064c1 to your computer and use it in GitHub Desktop.
Save billerickson/5d94ebd52872f6c9a0226e9d98b064c1 to your computer and use it in GitHub Desktop.
<?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