• Resolved andriussi

    (@andriussi)


    Hello,

    I have modified child theme of Twenty Thirteen to came up with two navigation menus, the exact code below:

    <div id="sitemap-lang" class="sitemap-lang">
    				<nav id="sitemap-navigation" class="navigation sitemap-navigation" role="navigation">
    					<h3 class="menu-toggle"><?php _e( 'Language', 'twentythirteen' ); ?></h3>
    					<a class="screen-reader-text skip-link" href="#content" title="<?php esc_attr_e( 'Skip to content', 'twentythirteen' ); ?>"><?php _e( 'Skip to content', 'twentythirteen' ); ?></a>
    					<?php wp_nav_menu( array( 'theme_location' => 'secondary-menu', 'menu_class' => 'sitemap-menu' ) ); ?>
    	</nav><!-- #site-navigation -->
    	</div><!-- #navbar -->
    
        <div id="navbar" class="navbar">
    				<nav id="site-navigation" class="navigation main-navigation" role="navigation">
    					<h3 class="menu-toggle"><?php _e( 'Menu', 'twentythirteen' ); ?></h3>
    					<a class="screen-reader-text skip-link" href="#content" title="<?php esc_attr_e( 'Skip to content', 'twentythirteen' ); ?>"><?php _e( 'Skip to content', 'twentythirteen' ); ?></a>
    					<?php wp_nav_menu( array( 'theme_location' => 'primary-menu', 'menu_class' => 'nav-menu' ) ); ?>
    	<div id="new-search" class="new-search">
    		<?php get_search_form(); ?>
    	</div><!-- #New Search -->
    	</nav><!-- #site-navigation -->
    	</div><!-- #navbar -->

    However, once I clicked on “Toggle button” the same menu appear. Who exactly control toggle menu and where I can specified secondary menu for new toggle button?
    Waiting for response.

    Regards,
    Andrius

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Custom "menu-toggle" for secondary menu’ is closed to new replies.