I have a Genesis child theme that I bought, and it only supports two menus, a primary and a secondary. However, for what I would like to do with my site I need to have 6 menus all together.
This is my website http://thenottypicalarmywife.com
This is what I want the menus to look like http://livingwellspendingless.com with the menus across the top of the page.
Here’s 2 options:
First: The code goes in your child themes functions file and creates one extra menu which displays in the genesis_after_header position.
There are 2 steps needed to add new nav menus.
One. Register the menu(s) using the init action hook NOT after_theme_setup
Two. Hook the menu into a theme hook location
( You could replace the 2nd step with the template code which displays the menu however this is not best practice when modifying Genesis and reserved for parent theme development)
Simply change the genesis_after_header hook to the correct hook location you want to display your menu.
You can also change the container class (nav-menu) to match the existing Genesis nav menu class or you would need to add a lot of CSS if you use a unique class.
You can also register multiple menus using register_nav_menus( $locations );
Second: Genesis also includes a built in function which enables you to add theme support for additional menus.
This code goes in your child themes functions file and creates 6 nav menus.
You can wrap each in an existing class or wrap the lot in an existing or new menu class.
Clearly, these are not the only methods you can use to add new menus in WordPress or Genesis however its a good option for child theme users where Genesis supports the use of custom functions rather then editing parent theme template files.
Source http://codex.wordpress.org/Function_Reference/wp_nav_menu
You should register your new menu first, usually in functions.php:
Then, in the admin menu manager you can build the menu and assing it to the new menu location you have previously register. After that, you can render the menu where you want it to be displayed in your theme:
The above answer are all acceptable, however there are special genesis functions to add menus, so
register_nav_menu
as well aswp_nav_menu
don’t need to be used… If your using genesis you might as well take advantage of their functions!This is the preferred way in Genesis 2.0+ to add genesis menu support in child themes:
Create your menus in the admin, then use
<?php wp_nav_menu( array('menu' => 'Menu Name' )); ?>
to place them in your templates.That would be the easiest method.