The growing library of 300+ ready-to-use templates that work with all WordPress themes including Astra, Hello,...
Fine-tunes wp_is_mobile function by excluding tablets (ex: iPad), from being detected as mobile! Uses MobileDetect PHP Library from mobiledetect.net!
Mobile Detect is a WordPress plugin that enhances the built-in wp_is_mobile() function by excluding tablets from being identified as mobile devices. This is particularly useful for websites that serve different content for mobile and desktop users, ensuring that iPad and other tablet users receive the desktop version of the site instead of the mobile version.
The plugin utilises the open-source MobileDetect PHP library to accurately detect mobile environments based on User-Agent strings and HTTP headers. It is aimed at users who need to differentiate between mobile and tablet traffic on their WordPress sites.
Best for: This plugin is suitable for WordPress site owners who serve distinct content for mobile and desktop users and want to ensure tablets receive the desktop version.
What it does well
Where it falls short
Mobile Detect is a straightforward solution for managing content delivery to tablet users. It is best for those with specific needs around mobile and desktop content differentiation.
Pothi Kalimuthu's own description of Mobile Detect, lightly tidied.
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:
Other plugins for libraries and archives.
The growing library of 300+ ready-to-use templates that work with all WordPress themes including Astra, Hello,...
Securely upload SVG files to your media library, with built-in sanitization and advanced features for styling...
Easily replace any attached image/file by simply uploading a new file in the Media Library edit view - a real...
HappyAddons packs Header Footer Builder, Megamenu, Single Post, Archive Page, & 500+ Ready Templates into...
CMB2 is a metabox, custom fields, and forms library for WordPress that will blow your mind.
The best WordPress templates, pattern, and layout library with 1,000+ designs built for the Gutenberg block ed...