• I have followed the instructions found here https://codex.www.ads-software.com/Navigation_Menus to create a second menu in twenty twelve using the following code in the functions.php

    function register_my_menus() {
      register_nav_menus(
        array(
          'primary' => __( 'Primary Menu' ),
          'top' => __( 'Top Menu' )
        )
      );
    }
    add_action( 'init', 'register_my_menus' );

    However I can’t get it to display. I am placing WP nav_menu in the header.php above the masthead with this code.

    <?php wp_nav_menu( array( 'theme_location' => 'top', 'menu_class' => 'nav-menu' ) ); ?>
    I am running WP 4.53
    Any help would be appreciated. Thanks

Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Adding second menu above header’ is closed to new replies.