I want two menus using the new WordPress 3.0 feature.
In functions.php I have:
function register_my_menus() {
register_nav_menus(
array(
'header-menu' => __( 'Header Menu' ),
'top-menu' => __('Top Menu')
)
);
}
add_action( 'init', 'register_my_menus' );
And in header.php I have:
<?php wp_nav_menu( array( 'name' => 'Header Menu' ) ); ?>
....
<?php wp_nav_menu( array( 'name' => 'Top Menu' ) ); ?>
Now they seem to fallback or something, always showing the same menu. The menus have been defined and setup in wp-admin "theme-locations".
Why won't they load appropriately?