Hi,
I'm puzzled by the Menu functionality.
I just setup a new WP 3.1.3
I made my own template, not really from scratch, but took the bases from Basic theme (free from Elegant themes) afaik.
I made a lot of changes and adapted it to my needs.
Everything is ok, except I have an horizontal menu that does not works.
It shows only ONE item (the sample PAGE) and nothing else.
All I did in menu admin is reflected by a vertical menus in sidebar only (widget).
Maybe I did not understood : the menu manager is for sidebar only ??
How can I put the same stuff in an another menu ?
reading Codex I did the following
in my function.php added the references to a 'menuh' (the footer one is not done for the moment)
<?php
function register_my_menus() {
register_nav_menus(
array( 'Haut-menu' => __( 'Menu Haut' ), 'foot-menu' => __( 'Footer Menu' ))
);
}
?>
and
function mytheme_wp_head() { ?>
<?php }
add_action('wp_head', 'mytheme_wp_head');
add_action('admin_menu', 'mytheme_add_admin');
add_action( 'init', 'register_my_menus' );
?>
In Menu management I get it and can choose it to be setup.
In my header.php I added what I think is the call to this menu
<?php wp_nav_menu( array( 'theme_location' => 'haut-menu' ) );?>
What's wrong ?
Thank you