Title: Multiple menus issue
Last modified: August 19, 2016

---

# Multiple menus issue

 *  Resolved [candell](https://wordpress.org/support/users/candell/)
 * (@candell)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/multiple-menus-issue/)
 * I am trying to add two menus to my theme, one in the header navigation and one
   in the footer. Both menus are to have different links. In wordpress admin I have
   set up two menus, one called Main Menu and the other called Footer Menu but on
   the page both are displaying the Main Menu links.
 * Can anyone see where I have gone wrong?
 * In functions.php
 *     ```
       register_nav_menus( array(
       	'primary' => 'Main Menu',
       	'secondary' => 'Footer Menu',
       ) );
       ```
   
 * In index.php for main menu
 *     ```
       <?php
       wp_nav_menu(array(
       'theme_location' => 'primary',
       'container' => false
       ));
       ?>
       ```
   
 * In index.php for the footer menu
 *     ```
       <?php
       wp_nav_menu(array(
       'theme_location' => 'secondary',
       'container' => false
       ));
       ?>
       ```
   
 * Is there anything else I need to do to get bothy menus working?
 * Thanks

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

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/multiple-menus-issue/#post-2043417)
 * [http://codex.wordpress.org/Navigation_Menus](http://codex.wordpress.org/Navigation_Menus)
 *  Thread Starter [candell](https://wordpress.org/support/users/candell/)
 * (@candell)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/multiple-menus-issue/#post-2043424)
 * Got it thanks

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

The topic ‘Multiple menus issue’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [candell](https://wordpress.org/support/users/candell/)
 * Last activity: [15 years, 3 months ago](https://wordpress.org/support/topic/multiple-menus-issue/#post-2043424)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
