Created
November 4, 2015 04:19
-
-
Save reasonstousegenesis/ed9273ad51781f36fcbf to your computer and use it in GitHub Desktop.
Reposition the primary navigation with Genesis
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Paste the code BELOW this line into your child theme functions. | |
/** | |
* Reposition the primary navigation with Genesis | |
* | |
* @author Reasons to Use Genesis | |
* @link http://reasonstousegenesis.com/nav-primary/ | |
*/ | |
remove_action( 'genesis_after_header', 'genesis_do_nav' ); | |
add_action( 'another_hook', 'genesis_do_nav' ); // replace another_hook with your desired hook |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment