Skip to content

Instantly share code, notes, and snippets.

@braddalton
Last active December 17, 2015 20:49
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save braddalton/5670471 to your computer and use it in GitHub Desktop.
add_action('get_header', 'wpsites_remove_genesis_do_nav');
/**
* @author Brad Dalton - WP Sites
* @example http://wp.me/p1lTu0-9Nr
* @copyright 2014 WP Sites
*/
function wpsites_remove_genesis_do_subnav() {
if (is_single('007') ) {
remove_action('genesis_after_header', 'genesis_do_nav');
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment