Mobile Detect
Fine-tunes wpismobile function by excluding tablets (ex: iPad), from being detected as mobile!
Install in
Mobile detect plugin uses the open source MobileDetect PHP library to fine-tune the built-in WordPress function wp_is_mobile() in such a way that tablets are excluded from being detected as mobile!
If you don’t understand the above one-liner, here is some explanation…
If we serve different (cached) content for mobiles and desktops, iPads (and other tablets) are usually served with mobile version of the site. That means, iPad users see only the mobile version of the site. If you are in doubt, check your site now! There is nothing wrong with your iPad (or any other tablet). It is due to how WordPress treats iPads and other tablets. Currently, in WordPress, iPads (and other tablets) are considered as mobile! One day (in the future), tablets may be considered as desktops by WordPress internals. Until then, by using / activating this plugin, tablets are served with desktop version of the site.
If your site doesn’t serve different content for mobiles and desktops, please ignore this plugin. This plugin does nothing in that case.
About Mobile Detect PHP Library:
- Mobile Detect is a lightweight PHP class for detecting mobile devices (including tablets). It uses the User-Agent string combined with specific HTTP headers to detect the mobile environment.
- PHP Mobile Detect is an open-source script released under MIT License.
- Mobile Detect PHP Developer: Șerban Ghiță, Nick Ilyin.
- Original author: Victor Stanciu.
- Icon (and banner) created by: Dragoș Gavrilă.
Written by Joobi from the project's own listing. See the source page
Changelog for upstream Mobile Detect library can be found at https://github.com/serbanghita/Mobile-Detect/releases.
3.1.1
- Fix for PHP deprecation notice.
3.1.0
- Restore old naming scheme.
3.0.2
- Fixed an issue with file name.
3.0.1
- Fixed an issue with file name.
3.0
- Update upstream Mobile Detect Library from version 2.8.38 to 2.8.41 .
- Shorten the length of the description in readme file.
1.5.1
- Remove unwanted tags
- Shorten the length of the description in readme file.
For a complete list of changelog, please see changelog.txt file.
Follow this listing's changes (Atom feed)