Adding Multiple Menus

Discussion in 'BizWay WordPress Theme' started by tullip98, Jan 18, 2013.

  1. tullip98

    tullip98 New Member

    Joined:
    Jan 17, 2013
    Messages:
    1
    Likes Received:
    0
    Can someone please help me out here. I am trying to add multiple menus. I am new to wordpress so I apologize if this is fairly obvious.
    I just purchased the bizway theme, I added this function in the function file

    function register_my_menus() {
    register_nav_menus(
    array(
    'home-menu' => __( 'Home Menu' ),
    'about-menu' => __( 'About Us Menu' ),
    'courses-menu' => __( 'Courses Menu' ),
    'login-menu' => __( 'Login Menu' )
    )
    );
    }
    add_action( 'init', 'register_my_menus' );

    and then added these lines in the header.php file


    <?php wp_nav_menu( array( 'theme_location' => 'custom_menu' ) ); ?>
    <?php wp_nav_menu( array( 'theme_location' => 'home-menu' ) ); ?>
    <?php wp_nav_menu( array( 'theme_location' => 'about-menu' ) ); ?>
    <?php wp_nav_menu( array( 'theme_location' => 'courses-menu' ) ); ?>
    <?php wp_nav_menu( array( 'theme_location' => 'login-menu' ) ); ?>
    (with out the beginning and ending PHP tags though obviously)
    but my menu items are showing up all aligned to the left. How do I get them to show up in the proper format, across the top instead of in a list?
     
  2. Nitesh

    Nitesh Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    5,165
    Likes Received:
    160
    Go to the Appearance > Menus, Create custom menus from there and add menu tabs which you want to show at navigation bar..
     

Share This Page