Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello Sajidrulez,

    There is no need for plugin.

    You need just edit the file functions.php in zeecorporate.
    We need to find the lines below:

    [please mark any code following the forum guidelines]

    // Register Menus
    register_nav_menu( 'main_navi', 'Main Navigation' );

    And add the line:

    register_nav_menu( 'top_navi', 'Top Navigation' );

    Then it remains to place the following code in the header.php file to the desired location.

    <!-- topnavi START -->
    <div id="topnavi">
    	<?php
    	// Get Top Navigation out of Theme Options
    	wp_nav_menu(array('theme_location' => 'top_navi', 'container' => false, 'echo' => true, 'before' => '', 'after' => '', 'link_before' => '', 'link_after' => '', 'depth' => 0));
    	?>
    </div>
    <!-- topnavi END -->

    Attention to the theme updates that can remove the added code.

    Thierry,
    From French, sorry for my english language.

    The Colorstay theme is the same and I want to add more menus, but I can’t see where to add the code?? Thank you.

    functions.php
    You should check the code number 1 in file ‘functions.php’ for your theme.
    Add the code number 2 in the same file just below.

    header.php
    Next, place the code number 3 in the ‘header.php’ anywhere you want.
    If the ID ‘top_navi’ already exists change the word ‘top’ in another.

    Proofread carefully to the procedure above.

    Thread Starter sajidrulez

    (@sajidrulez)

    Thanks Succes-Web . Your post greatly helped me. Thanks a lot.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘URGENT – Adding multiple menus to zeeCorporate’ is closed to new replies.