Last active
December 21, 2015 20:09
-
-
Save AMNDesign/6359224 to your computer and use it in GitHub Desktop.
Reposition the primary and secondary navigation menus using the Genesis Framework.
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 | |
//* Move primary navigation menu | |
remove_action( 'genesis_after_header', 'genesis_do_nav' ); | |
add_action( 'genesis_before_header', 'genesis_do_nav' ); | |
//* Move secondary navigation menu | |
remove_action( 'genesis_after_header', 'genesis_do_subnav' ); | |
add_action( 'genesis_before_header', 'genesis_do_subnav' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment