Title: Menu
Last modified: August 31, 2016

---

# Menu

 *  [johnzoro](https://wordpress.org/support/users/johnzoro/)
 * (@johnzoro)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/menu-152/)
 * You know you have the nav menu under the logo
 * I know you can change it so it’s above the logo, but is there a way to keep it
   where it is, but add an additional menu above the logo?
 * Possibly one where I can add a register/login link on?

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

 *  [tech55541](https://wordpress.org/support/users/tech55541/)
 * (@tech55541)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/menu-152/#post-7258088)
 * Hello,
    Site link please.
 * Thanks.
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/menu-152/#post-7258137)
 * general:
 * register a new menu:
 *     ```
       function register_top_header_menu() {
         register_nav_menu('top-header-menu',__( 'Top Header Menu' ));
       }
       add_action( 'init', 'register_top_header_menu' );
       ```
   
 * use a filter to add the register and loginout link:
 *     ```
       add_filter('wp_nav_menu_items','show_register_login_link', 10, 2);
   
       function show_register_login_link($nav, $args) {
           if( $args->theme_location == 'top-header-menu' ) $nav .=(is_user_logged_in()?'':wp_register("<li class='menu-item register'>", "</li>", false))."<li class='menu-item loginout'>".wp_loginout('',false)."</li>";
       	return $nav;
       }
       ```
   
 * add the menu into **header.php** or your theme:
 *     ```
       <?php //second header menu with register and login/out link//
       	wp_nav_menu( array( 'theme_location' => 'top-header-menu' ) );
       ?>
       ```
   
 * then you will need to add some CSS to format the menu.
 * details depend on the currently used theme.
 * [https://codex.wordpress.org/Navigation_Menus](https://codex.wordpress.org/Navigation_Menus)

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

The topic ‘Menu’ is closed to new replies.

## Tags

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

 * 2 replies
 * 3 participants
 * Last reply from: [Michael](https://wordpress.org/support/users/alchymyth/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/menu-152/#post-7258137)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
