Skip to content

Instantly share code, notes, and snippets.

@billerickson
Created May 10, 2018
Embed
What would you like to do?
<?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