Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
//* Do NOT include the opening php tag
//* Remove breadcrumb from a single page
function b3m_remove_genesis_breadcrumb() {
if ( is_page( 'resources' ) ) {
remove_action( 'genesis_before_loop', 'genesis_do_breadcrumbs' );
add_action( 'genesis_before', 'b3m_remove_genesis_breadcrumb' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.