Support » Plugin: ShiftNav - Responsive Mobile Menu » Merge multiple menus into ShiftNav?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author sevenspark


    Hi Kenny,

    There isn’t a built in way to do that, but you could use some custom PHP to print an extra menu in the panel. Try something like this:

    add_action( 'shiftnav_after' , 'my_additional_shiftnav_menu' );
    function my_additional_shiftnav_menu( $id ){
    	if( $id == 'shiftnav-main' ){
    		$args = array(
    			'container_class' 	=> 'shiftnav-nav',
    			'container'		=> false,
    			'menu_class' 		=> 'shiftnav-menu',
    			'walker'		=> new ShiftNavWalker,
    			'fallback_cb'		=> 'shiftnav_fallback',
    			'depth'			=> 0,
    			'shiftnav'		=> 'main',
    			'menu'			=> 26,
    		wp_nav_menu( $args );

    but replace the 26 with the ID of the menu that you want to add below the main ShiftNav menu.

    Hope that helps!


    Hi there.
    Which file would we add this code to?


    Plugin Author sevenspark


    Hi kp,

    Normally this would be added in a child theme’s functions.php 🙂



Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Merge multiple menus into ShiftNav?’ is closed to new replies.