Forums
Home / Fixing WordPress / WP 3.0 Nav Menus
(@splanky47)
13 years, 10 months ago
I am having some trouble with the new nav menus. I have been trying to register and then use three different menus. Unfortunately, only a single menu keeps appearing in each spot.
Here is the code I am using:
register_nav_menus( array( ‘primary’ => __( ‘Primary Navigation’, ‘urban’ ), ‘secondary’ => __( ‘Secondary Navigation’, ‘urban’ ), ‘tertiary’ => __( ‘Tertiary Navigation’, ‘urban’ ) ) );
<?php wp_nav_menu(array( ‘container’ => ‘div’, ‘container_class’ => ‘grid_11’, ‘depth’ => ‘3’, ‘theme_locaton’ => ‘primary’ )); ?>
<?php wp_nav_menu(array( ‘container’ => ‘ul’, ‘container_id’ => ‘eyebrowNav’, ‘depth’ => ‘2’, ‘theme_locaton’ => ‘secondary’ )); ?>