Plugin providing shortcodes and functions to allow different content to be served to different types of device (Desktop, Tablet, Phone); also includes checks on types of device (iOS, iPhone, iPad, Android, Windows Phone) and mobile browsers (Chrome, Firefox, IE, Opera, WebKit).
The following shortcodes are available:
- ismobile
- isnotmobile
- isphone
- isnotphone
- istablet
- isnottablet
- isios
- isiphone
- isipad
- isandroid
- iswindowsphone (alternative shortcode iswp)
- iswindowsmobile (alternative shortcode iswinmo)
- ischrome
- isfirefox
- isie
- isopera
- iswebkit
- istv
- isconsole
All shortcodes available as functions with an azc_md prefix for calling from themes, other plugins, etc. For example, is_mobile available as function azc_md_is_mobile.
Uses PHP Mobile Detect class, the lightweight PHP class for detecting mobile devices (including tablets), from
http://mobiledetect.net/.
This plugin is multisite compatible.
Changes and feature additions for the Mobile Detection plugin:
2.0.3
2.0.2
- Move menu to includes folder for easier maintenance
2.0.1
- Correct issue with if exists azurecurve menu
2.0.0
1.1.0
- Update to use version 2.8.32 of PHP Mobile Detect class
1.0.0