• Resolved Paul Bursnall

    (@style960)


    Hi,

    Any suggestion on how I can use Mobble to disable a specific plugin on mobiles only? I would assume this would go in my themes functions.php file but I don’t think I getting the syntax right.

    Plugin folder path / name is:

    wp-symposium-toolbar/wp-symposium-toolbar.php

    Thanks,
    Paul.

    https://wordpress.org/plugins/mobble/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Scott

    (@scottsweb)

    Hi Paul
    I imagine that deactivating a plugin for mobile users will not be the best approach for this. You probably want the symposium toolbar to stay active at all times but on the mobile version you would need to unhook certain aspects of it from WordPress.

    Take a look http://codex.wordpress.org/Function_Reference/remove_action & http://codex.wordpress.org/Function_Reference/remove_filter – both of these functions can be used to rip out certain chunks of code from almost any plugin.

    Thread Starter Paul Bursnall

    (@style960)

    Hi,

    I’ll maybe check with the plugin author. When it’s enabled on Buddyboss the toolbar loses it’s functionality (mobile only) which is key to how the theme resizes for mobile – hence why I was looking to disable it completely.

    Thanks,
    Paul.

    Plugin Author Scott

    (@scottsweb)

    Marking as resolved.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Disable plugin on mobile’ is closed to new replies.