Skip to content

Instantly share code, notes, and snippets.

@rustyeddy
Created December 28, 2013 19:02
Show Gist options
  • Save rustyeddy/8162970 to your computer and use it in GitHub Desktop.
Save rustyeddy/8162970 to your computer and use it in GitHub Desktop.
/*
* Call this function to place the primary nav bar above the header
*/
function lpo_move_primarynav_above_header()
{
//* Reposition the primary navigation menu
remove_action( 'genesis_after_header', 'genesis_do_nav' );
add_action( 'genesis_before_header', 'genesis_do_nav' );
}
function lpo_move_subnav_above_header()
{
//* Reposition the 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