• For some reason this doesn’t work any more:

    <div id="nav-container">
    	<ul>
    	<?php wp_nav_menu(
    		array(
    			'menu' => 'Main Menu',
    			'container' => '',
    			'items_wrap' => '%3$s'
    		)
    	); ?>
    	</ul>
    
    	<ul id="main-nav-2">
    	<?php wp_nav_menu(
    		array(
    			'menu' => 'Right Menu',
    			'container' => '',
    			'items_wrap' => '%3$s'
    		)
    									); ?>
    	</ul>
    </div>

    This is from function file:

    if (function_exists('register_nav_menus')) {
            register_nav_menus (
    	        array(
    			'main_nav' => 'Main Menu',
    			'right_nav' => 'Right Menu'
    		)
    	);
    }

    I set two different menus in admin panel and selected which one I want to use where.
    But only last menu is printed two times !?

    Can someone help me please ?

  • The topic ‘Two dynamic menus on same page in 3.6 !?’ is closed to new replies.