lisaleague
12/25/2013 - 3:38 PM

From http://wpsites.net/web-design/conditionally-remove-your-primary-secondary-nav-menu/

add_action('template_redirect', 'remove_nav_exclude_blog_page'); /** * @author Brad Dalton - WP Sites * @learn more http://wpsites.net/web-design/conditionally-remove-your-primary-secondary-nav-menu/ */ function remove_nav_exclude_blog_page() { if ( !is_page('blog') )      remove_action('genesis_after_header', 'genesis_do_nav'); }