WordPress.org

Support

Support » Plugins and Hacks » WP Mobile Detector » [Resolved] slider removal?

[Resolved] slider removal?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author websitezcom

    @websitezcom

    Unfortunately, with the way WordPress is designed, one plugin cannot manipulate another plugin.

    So you’ll have to do a “hack”.

    The best way is to modify the slider plugin and have it only show if it is not a mobile device.

    The nice part is the WP Mobile Detector gives you access to a value inside the wp query object as well as a cookie you can check against.

    You could also put JavaScript in the footer that hides the slider, or removes it from the page if you’d like.

    as always, very helpful response!! Thanks!

    Hi,

    I also have the same type of query.. I have just 1 slider on my home page located just under the menu header.

    I am not using any slider plugin, it is part of my theme which is on top of woocommerce.

    Would the best way be to action/hook the functions.php file of my theme? If so, what action would I call? The slider is in the form of a shortcode in my theme.

    Thanks in adv.

    Plugin Author websitezcom

    @websitezcom

    You’ll have to contact whoever made the theme to find out how you can deactivate it.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] slider removal?’ is closed to new replies.
Skip to toolbar