Mobile Menu vs Desktop Menu

Home Forums Pro Support Mobile Menu vs Desktop Menu

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #69292
    Lee FirthLee Firth
    Participant

    Is it possible to use a different menu for mobile than for desktop?

    #69293
    Kriti SharmaKriti Sharma
    Keymaster

    Hello Lee,

    Hope you are having a nice day!

    Right now, Responsive Menu Pro plugin doesn’t offer this functionality. But we will try to add this feature in future updates as soon as possible.

    Having said that, technically it would be possible using the shortcode and the wp_is_mobile() function.

    Something like the below could work:

    <?php 
    
    if(wp_is_mobile()) {
       echo do_shortcode('[responsive_menu_pro menu_to_use="mobile-menu"]');
    } else {
       echo do_shortcode('[responsive_menu_pro menu_to_use="desktop-menu"]');
    }
    ?>

    Of course, you will need to change the menu slugs above to match your own.

    Thanks for reaching out to Responsive Menu Support.

    Kind regards,
    Kriti Sharma

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Mobile Menu vs Desktop Menu’ is closed to new replies.