different menus

Home Forums Any Mobile Theme Switcher different menus

This topic contains 1 reply, has 2 voices, and was last updated by  Dinesh 3 years, 11 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #423



    Love the plugin, just have one question.

    How can I use different menus on the different themes?

    It always uses the active themes menu settings…



    Ya. It is quite difficult to keep the 2 different menus in different themes. WordPress always keeps active menu in your themes.

    So what you can do is,
    You can assign your primary menu in your base/desktop theme. And create a new menu like mobile_menu. And keep that menu in your mobile theme using the wp_nav_menu function in your header.php of mobile theme manually.

    < ?php wp_nav_menu(array('menu' => ‘mobile_menu’,’menu_class’=>’your_class’)); ?>

    If you still have problem or unable to do so. Do let me know.

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘different menus’ is closed to new replies.