Home › Forums › Any Mobile Theme Switcher › Mobile theme switcher – issues with menu › Reply To: Mobile theme switcher – issues with menu
November 24, 2015 at 2:47 pm
#4920
Maria
Guest
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.
)
); ?>