Skip to content

Instantly share code, notes, and snippets.

@reasonstousegenesis
Created November 4, 2015 04:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save reasonstousegenesis/0a6330edf01b8405315c to your computer and use it in GitHub Desktop.
Save reasonstousegenesis/0a6330edf01b8405315c to your computer and use it in GitHub Desktop.
Remove the primary navigation with Genesis
<?php
// Paste the code BELOW this line into your child theme template.
/**
* Remove the primary navigation with Genesis
*
* @author Reasons to Use Genesis
* @link http://reasonstousegenesis.com/nav-primary/
*/
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