WordPress.org

Ready to get started?Download WordPress

Forums

Really simple Facebook Twitter share buttons
[resolved] Disactivate plugin in Mobile Mode (2 posts)

  1. Diane Bourque
    Member
    Posted 3 months ago #

    I would like to deactivate the plugin on mobile (iphone+) mode.

    Is there a code that I can add in style.css or elsewhere that would deactivate the plugin on my iphone?

    I use WP Mobile Touch for my site and both set of share buttons appear on my iphone. I would like to deactivate the ones from your plugin.

    Thanks!

    https://wordpress.org/plugins/really-simple-facebook-twitter-share-buttons/

  2. whiletrue
    Member
    Plugin Author

    Posted 3 months ago #

    Hi Diane,
    I think the easiest way is to add some line like this to your theme at the end of your header.php file:

    <?php if (wp_is_mobile()) : ?>
    <style>.really_simple_share { display:none; }</style>
    <?php endif; ?>

Reply

You must log in to post.

About this Plugin

About this Topic

Tags