Title: Native Navigation/Menu Problem
Last modified: August 19, 2016

---

# Native Navigation/Menu Problem

 *  Resolved [DarkDot](https://wordpress.org/support/users/darkdot/)
 * (@darkdot)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/native-navigationmenu-problem/)
 * Hey All,
 * I’m creating a custom theme and wanted to use wordpress’ custom navigation which
   has to be enabled.
 * In my functions.php this is the code I have:
 *     ```
       add_action( 'init', 'register_my_menu' );
   
       function register_my_menu() {
       	register_nav_menu( 'main-menu', __( 'Main Menu' ) );
       }
       ```
   
 * Then in my theme where I want it to appear I have:
 *     ```
       <?php wp_nav_menu( array( 'theme_location' => 'main-menu' ) ); ?>
       ```
   
 * In the admin section of wordpress I can create a menu but once I do and save 
   it and navigate away from the menu page of the admin section and then go back
   to that section to edit the menu its all greyed out and all I can do is create
   a new menu. If i type in the name of a menu I created it just says a menu with
   that name has already been created make a menu with a different name.
 * I know that I should be able to see and edit the menus I created already in the
   admin section but obviously can’t. So what am I missing or doing wrong?

Viewing 1 replies (of 1 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/native-navigationmenu-problem/#post-1872646)
 * Try reviewing [Navigation_Menus](http://codex.wordpress.org/Navigation_Menus).

Viewing 1 replies (of 1 total)

The topic ‘Native Navigation/Menu Problem’ is closed to new replies.

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [15 years, 4 months ago](https://wordpress.org/support/topic/native-navigationmenu-problem/#post-1872646)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
