Title: wp_nav_menu does not pull the menu
Last modified: August 20, 2016

---

# wp_nav_menu does not pull the menu

 *  Resolved [elz064](https://wordpress.org/support/users/elz064/)
 * (@elz064)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/wp_nav_menu-does-not-pull-the-menu/)
 * 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

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/wp_nav_menu-does-not-pull-the-menu/#post-2144735)
 * Review [Navigation_Menus](http://codex.wordpress.org/Navigation_Menus).
 *  Thread Starter [elz064](https://wordpress.org/support/users/elz064/)
 * (@elz064)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/wp_nav_menu-does-not-pull-the-menu/#post-2144890)
 * I found everything what I’ve done on this page.
 * However, my issue was only an Uppercase typo.
    `<?php wp_nav_menu( array( 'theme_location'
   => 'haut-menu' ) );?>` should have been: `<?php wp_nav_menu( array( 'theme_location'
   => 'Haut-menu' ) );?>`
 * That’a all..

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘wp_nav_menu does not pull the menu’ is closed to new replies.

## Tags

 * [menu](https://wordpress.org/support/topic-tag/menu/)
 * [wp_nav_menu()](https://wordpress.org/support/topic-tag/wp_nav_menu/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [elz064](https://wordpress.org/support/users/elz064/)
 * Last activity: [14 years, 10 months ago](https://wordpress.org/support/topic/wp_nav_menu-does-not-pull-the-menu/#post-2144890)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
