Skip to content

Instantly share code, notes, and snippets.

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 Richzendy/a7197553f8710f542c2a to your computer and use it in GitHub Desktop.
Save Richzendy/a7197553f8710f542c2a to your computer and use it in GitHub Desktop.
// Remove menu from header area (on functions.php)
remove_action( 'genesis_after_header', 'genesis_do_nav' );
// Add New Menu (on functions.php)
register_nav_menu( 'after-header-menu' ,__( 'After Header Navigation Menu' ));
// Declare your new menu and clone styles from Main Menu (on wherever you want, functions.php function or template)
wp_nav_menu( array( 'theme_location' => 'after-header-menu','container' => 'nav', 'container_class' => 'nav-primary','items_wrap' => '<div class="wrap"><ul id="%1$s" class="genesis-nav-menu menu-primary %2$s">%3$s</ul></div>',) );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment