• Resolved berger.bpb

    (@bergerbpb)


    Hi,

    Want to re-phrase an earlier question. Is there an option, or can you create one — or provide custom css — that deactivates your plugin when my site is viewed on mobile?

    Or make a way to turn off the plugin while Jetpack mobile is being viewed?

    Any help here would be a major win!

    Thanks

    https://wordpress.org/plugins/responsive-menu/

Viewing 1 replies (of 1 total)
  • Hi Berger,

    Unfortunately, as this is a “Responsive” menu, rather than a “Mobile” menu this isn’t really the purpose of the plug-in I’m afraid.

    I believe there may be other plugins that can disable/enable different plugins on your site depending on various criteria.

    In addition, there is the wp_is_mobile() check that you could potentially use alongside the shortcode option to filter out my menu on mobiles, for example in your header.php file you could put:

    <?php if( !wp_is_mobile() ) {
     echo do_shortcode( "[responsive-menu"] );
    } ?>

    That is just off the top of my head but seems as though it might have potential.

    Let me know how you get on.

    Many thanks

    Peter

Viewing 1 replies (of 1 total)

The topic ‘Turn Off Plugin on Mobile’ is closed to new replies.