Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
<?php
//* Do NOT include the opening php tag
//* Remove breadcrumb from a single page
//* https://codex.wordpress.org/Function_Reference/is_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