WordPress.org

Ready to get started?Download WordPress

Plugin Directory

WP Mobile Detect

WP Mobile Detect by Jesse Friedman creates an easy way for the User Admin to control when content is shown or hid based on visitor device or operating

What shortcodes are available with this plugin

  • [phone]Put content here that you only want displayed on Phones NOT Tablets or Desktops[/phone]
  • [tablet]Put content here that you only want displayed on Tablets NOT Phones or Desktops[/tablet]
  • [device]Put content here that you only want displayed on Phones OR Tablets NOT Desktops[/device]
  • [notphone]Put content here that you only want displayed on Tablets OR Desktops NOT Phones[/notphone]
  • [nottab]Put content here that you only want displayed on Phones OR Desktops NOT Tablets[/nottab]
  • [notdevice]Put content here that you only want displayed on Desktops NOT Phones OR Tablets[/notdevice]
  • [ios]Put content here that you only want displayed on iOS devices[/ios]
  • [iPhone]Put content here, that you only want displayed on iPhones[/iPhone]
  • [iPad]Put content here, that you only want displayed on iPads[/iPad]
  • [android]Put content here, that you only want displayed on Android devices[/android]
  • [windowsmobile]Put content here, that you only want displayed on Windows Mobile devices[/windowsmobile]

What functions are available with this plugin

  • wpmd_is_notphone() - Returns true when on desktops or tablets
  • wpmd_is_nottab() - Returns true when on desktops or phones
  • wpmd_is_notdevice() - Returns true when on desktops only
  • wpmd_is_phone() - Returns true when on phones ONLY
  • wpmd_is_tablet() - Returns true when on Tablets ONLY
  • wpmd_is_device() - Returns true when on phones or tablets but NOT destkop
  • wpmd_is_ios() - Returns true when on an iOS device
  • wpmd_is_iphone() - Returns true when on iPhones
  • wpmd_is_ipad() - Returns true when on iPads
  • wpmd_is_android() - Returns true when on Android
  • wpmd_is_windows_mobile() - Returns true when on Windows Mobile

Are you planning on adding more shortcodes in the future?

Yes I plan on adding shortcodes for * Android Only - DONE * iOS Only - DONE * Mobile Browsers - Coming Soon * And More

If you want to see some rate and comment on this plugin

What about functions?

For now I've only made shortcodes but you can either call the do shortcode function in your theme or write your own functions. In future releases functions will come with all shortcodes

Requires: 2.8.4 or higher
Compatible up to: 3.5.2
Last Updated: 2013-3-29
Downloads: 16,485

Ratings

4 stars
4.8 out of 5 stars

Support

0 of 5 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,1,1
100,1,1
100,1,1
100,2,2
100,1,1
100,1,1
50,2,1
100,1,1
100,2,2
100,1,1
100,1,1
100,1,1
100,6,6
100,2,2