Skip to content

Instantly share code, notes, and snippets.

@jdspiral
Last active August 29, 2015 14:13
Show Gist options
  • Save jdspiral/10806df9543dc1cba5d2 to your computer and use it in GitHub Desktop.
Save jdspiral/10806df9543dc1cba5d2 to your computer and use it in GitHub Desktop.
Remove breadcrumb from a custom template page
//* Remove breadcrumb from a custom template page
add_action( 'genesis_before', 'jds_remove_genesis_breadcrumb' );
function jds_remove_genesis_breadcrumb() {
if ( is_page_template( 'page_landing.php' ) )
remove_action( 'genesis_before_loop', 'genesis_do_breadcrumbs' );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment