WPThumbs
Themes Plugins By purpose By industry Best-of lists Fix it guides
Free Plugin by Tubal v2.0.2

Mobile Detector

Lightweight detector of mobile devices, OSs & browsers. Optionally a mobile theme switcher.

Mobile Detector

The facts

Rating
5★ from 4
Active installs
200+
Price
Free
Last updated
21 Dec 2012
Added
Dec 2011
Requires WP
3.0
Tested up to
WP 3.5.2
Downloads
42,516

Our analysis

AI-assisted

Mobile Detector is a WordPress plugin that identifies whether users are accessing your site from a mobile device, along with details about the operating system and browser. It allows for optional switching to a mobile theme based on this detection. The plugin is lightweight and aims to provide a quick solution for mobile detection without extensive device details.

This plugin is suitable for users who need a straightforward method to determine mobile access to their site. However, it may not meet the needs of those requiring detailed device specifications, such as screen resolution.

Best for: This plugin suits website owners who want basic mobile detection functionality.

What it does well

  • Detects mobile devices, OS, and browsers
  • Allows optional switching to a mobile theme
  • Lightweight and fast
  • Simple boolean query method for detection

Where it falls short

  • Limited to basic device and OS detection
  • Does not provide detailed device specifications
  • Last updated in December 2012

Verdict

Mobile Detector offers a simple solution for identifying mobile users, but its lack of detailed information may limit its usefulness for some.

From the developer

Tubal's own description of Mobile Detector, lightly tidied.

A lightweight detector of mobile devices, OSs & browsers that, optionally, allows your site to switch to a mobile theme when a mobile device is detected or when your users feel like it.

This plugin adds the class MobileDTS to WordPress.

Mobile Detection

On every request, this plugin will try to detect if the user is viewing your site with a mobile device or not. If he is, the detector will also give you some info about the device, browser and OS used.

Who will be happy with this detector?

If you need a fast and reliable way to detect if a user is visiting your site with a mobile device, then you’ll be happy. However, if you need precise information about the device used (other than OS and browser) such as screen resolution you need a detector such as DeviceAtlas or WURFL.

How to query the detector?

Use the method MobileDTS::is($key). is() returns boolean true or false.

Example:

<?php

if (MobileDTS::is('android')) {
    // User with a mobile device running Android OS
} else if (MobileDTS::is('ios')) {
    // User with a mobile device running iOS
} else if (MobileDTS::is('mobile')) {
    // User with a mobile device (any, even 10 years old mobile phones) 
} else {
    // User with a desktop device   
}

?>

Available keys:

  • mobile (Is it a mobile?)
  • other (Any other mobile device)

Popular mobile devices

  • iphone (Apple iPhone)
  • ipad (Apple iPad)
  • kindle (Amazon Kindle)

Mobile OS

  • android (Android OS)
  • bada (Bada OS)
  • bbos (Blackberry OS)
  • ios (Apple iOS)
  • palmos (Palm OS)
  • symbian (Symbian OS)
  • webos (Hp WebOS)
  • windows (Windows Phone OS and older)

Read the full description on the official page →

Tagged as