Created
November 4, 2015 04:37
-
-
Save reasonstousegenesis/5d52d86cf5d5818a6c46 to your computer and use it in GitHub Desktop.
Pop the secondary navigation out of the site container
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. | |
/** | |
* Pop the secondary navigation out of the site container | |
* | |
* @author Reasons to Use Genesis | |
* @link http://reasonstousegenesis.com/nav-secondary/ | |
*/ | |
remove_action( 'genesis_after_header', 'genesis_do_subnav' ); | |
add_action( 'genesis_before', 'genesis_do_subnav' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment