Home Forums Any Mobile Theme Switcher Mobile theme switcher – issues with menu Reply To: Mobile theme switcher – issues with menu

#4920

Maria

Hi, I found here a solution for this and it works:

In your mobile template, when you add a menu, you must add parameter ‘menu’=> ’10’, where the number is the id of your menu. For example:


<?php wp_nav_menu( 
array( 
	'theme_location' => 'mobile_menu',
	'menu' => '17' // This is the menu id number. You can see it when you edit a menu in wordpress admin.

   ) 
); ?>