WordPress.org

Support

Support » Plugins and Hacks » [Plugin: AddToAny: Share/Bookmark/Email Button] Remove Add-to-any on WPTouch devices

[Plugin: AddToAny: Share/Bookmark/Email Button] Remove Add-to-any on WPTouch devices

  • I’m a WP n00b and I have been trying to find a way to hide add to any in the WPtouch iPhone (plugin) theme.

    WPTouch comes with a nice, basic sharing system that is suitable for a mobile device and I think that Add to Any is perfect for the desktop.

    Thanks in advance.

Viewing 2 replies - 1 through 2 (of 2 total)
  • *bump*

    Exact same issue/request here. Any ideas out there?

    Thanks

    OK, I figured this one out. Pretty easy actually.

    1. In wordpress admin, go to the addtoany save/share settings page.
    2. UNCHECK all options for ‘Placement’.
    3. Click the arrow button to the right of the text that reads “* If unchecked, be sure to…” and copy the PHP code it gives you.
    4. Place this in the relevant areas of your theme. For me this was in index.php and single.php pages, immediately after <?php the_content(); ?>
    5. Done! For some reason this seems to hide it from the iPhone. For me at least.

    I also found some very useful mobile browser detection code, at http://papermashup.com/lightweight-mobile-browser-detection/
    But in the end I didn’t need it.

    Good luck!
    Liam

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: AddToAny: Share/Bookmark/Email Button] Remove Add-to-any on WPTouch devices’ is closed to new replies.
Skip to toolbar