Mobile Detect

Mobile Detect Install Statistics

0
100%
Today: 11 Yesterday: 11 All-time: 31,054 downloads
Mobile Detect Icon

Try plugin: Mobile Detect

We'll create fresh WordPress site with Mobile Detect installed. You have 20 minutes to test the plugin after that site we'll be deleted.

Takes ~10 seconds to install.

About Mobile Detect

Fine-tunes wp_is_mobile() function by excluding tablets (ex: iPad), from being detected as mobile! Uses MobileDetect PHP Library from mobiledetect.

6


0


0


0


0

updated: 1 year ago
since: 7 years ago
author: Pothi Kalimuthu

Description

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ă.