Tagged: ,

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #12886

    Would it be possible to have 2 main menus instead of one, one below the other?




    Yes I think that’s possible.

    Kindly go to: wp-contentthemesangularfunctions.php and find this line of code:

    foreach($avia_config['nav_menus'] as $key => $value){ register_nav_menu($key, THEMENAME.' '.$value); }

    below it paste this code:

    register_nav_menu('avia', 'Secondary Menu');

    Now, go to: wp-contentthemesangularheader.php and find this line of code:


    below it, paste this code:

    $defaults = array( 'theme_location'  => 'avia', 'menu' => 'Secondary Menu' );
    wp_nav_menu( $defaults );

    Then in your dashboard(admin panel) inside wordpress. Go to Appearance > Menus. Create a menu and name it: Secondary Menu. Then add menus to it then save. For more information check this site: http://codex.wordpress.org/Appearance_Menus_Screen

    Once you’re done with it. Kindly post a link to your site so we can give you further instruction.



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

The topic ‘2 header menus’ is closed to new replies.