Mobile Detect For CSS icon
Developer Tools

Mobile Detect For CSS

The library is from http://mobiledetect.net/. The BODY tag needs to use the body_class() function. The values: desktop, handheld, mobile, tablet, ios, …

Developer Phuc Pham
17 Needs attentionmaintenance
  • 14 yearson WordPress.org
  • 5plugins
  • 170+installs in total
  • 20%of plugins updated this year
3/14 badges Profile →

Not recommended for new sites

Better alternatives to Mobile Detect For CSS

  • Problem: Not maintained Last updated 11 years ago (version 1.3).
  • Problem: Not tested with recent WordPress Tested up to WordPress 4.4; the current release is 7.1.
  • Note: Few reviews so far No ratings on WordPress.org yet.
  • Note: Small user base Active on 30+ sites.

For a new site, or if you are planning a rebuild, choose a plugin that is still maintained. Unmaintained plugins stop getting security fixes and tend to break as WordPress and PHP move on.

Mobile Detect icon

Best match

Mobile Detect

Updated 3 months ago, tested with WordPress 7.1, rated 5.0/5 by 7 users, used on 3,000+ sites.

Setup guide →
Compare Mobile Detect For CSSthis plugin Mobile Detect
Last updated 11 years ago3 months ago
Tested up to WordPress 4.4WordPress 7.1
Active installs 30+3,000+
Rating –5.0 / 5 (7)
PHP code size 79 KB in 2 PHP files178 KB in 4 PHP files
Hooks for developers ––

Switching from Mobile Detect For CSS?

  1. Try the replacement on a staging copy of your site first.
  2. Note your current settings, shortcodes and widgets. They won't carry over automatically.
  3. Activate the new plugin, recreate the setup, then deactivate and delete the old one.

Need your settings or data moved over? We can migrate it for you.

Find other outdated plugins on your site with the free plugin checker →

Alternatives are matched on features and ranked by maintenance, WordPress compatibility, ratings and adoption, using WordPress.org data.

Overview

Mobile Detect For CSS describes itself as: “The library is from http://mobiledetect.net/. The BODY tag needs to use the body_class() function. The values: desktop, handheld, mobile, tablet, ios, …”

It is active on 30+ WordPress sites.

We haven't published a hands-on review of Mobile Detect For CSS yet. Want one, or need help with it? Send us a request.

How to install Mobile Detect For CSS

  1. Open the plugin installer. In your WordPress dashboard go to Plugins → Add New Plugin.
  2. Search for it. Type “Mobile Detect For CSS” and pick the one by Phuc Pham.
  3. Install and activate. Click Install Now, then Activate.
Install with a zip file or WP-CLI

Download the zip from the WordPress.org plugin page, then go to Plugins → Add New Plugin → Upload Plugin, choose the file and click Install Now. Or from the command line:

wp plugin install mobile-detect-for-css --activate

Requirements: WordPress 2.8+ · tested up to WordPress 4.4.34

Hooks & customisation

The hooks reference for this plugin is being generated and will appear here shortly.

Mobile Detect For CSS: frequently asked questions

Is Mobile Detect For CSS free?

Yes. Mobile Detect For CSS is free to download from the official WordPress.org plugin directory and is licensed under the GPL, so you can use it on as many sites as you like. Some developers sell a separate Pro version or paid add-ons; check the developer's website for details.

Is Mobile Detect For CSS safe to use?

Mobile Detect For CSS has not been updated for 11 years. Plugins without updates stop receiving security fixes, so we recommend a maintained alternative for new sites. As with any plugin, keep it updated and only install it from WordPress.org or the developer.

Does Mobile Detect For CSS work with WordPress 7.1?

It isn't confirmed. Mobile Detect For CSS was last tested with WordPress 4.4, 27 releases behind the current 7.1, so test it on a staging site before relying on it. It requires WordPress 2.8 or later.

How many websites use Mobile Detect For CSS?

Mobile Detect For CSS is active on 30+ WordPress sites, according to WordPress.org. It is currently at version 1.3, last updated on April 5, 2016.

What are the best alternatives to Mobile Detect For CSS?

Plugins that do a similar job and are actively maintained include Mobile Detect (3,000+ installs). See the side-by-side comparison.

Can I customise Mobile Detect For CSS without editing its code?

Mobile Detect For CSS doesn't expose its own hooks, so changing its behaviour usually means a small companion plugin. Tell us what you need and we'll suggest the safest way.

Done for you

Let us deal with Mobile Detect For CSS for you

Move to a maintained plugin without losing your settings, or keep this one and have it brought up to date.

Update an abandoned plugin

from $249

Keep the plugin your site depends on, made safe for current WordPress and PHP.

  • Compatibility with current WordPress and PHP
  • Security review and fixes
  • Deprecated code replaced
  • You keep a maintained copy

Typical turnaround: 5–10 business days

Choose this

Not sure which fits? Describe what you need and we’ll suggest the simplest option.

Need Mobile Detect For CSS customised?

Tell us what you want changed, added or fixed and we'll reply with an estimate.

WP EXPERTS is independent and not affiliated with Phuc Pham. Plugin names and logos belong to their owners. Version, rating and install figures from WordPress.org, checked Nov 19, 2026.

More plugins by Phuc Pham

All 5 →
Not updated in 11+ years

This plugin helps to add scripts into the header (before close tag ) or the footer (before close tag ).

90+ installs Updated 11 years ago 3 hooks

Providing tool to sync all listings, listing agents from Rex Software to WordPress

30+ installs Updated 5 months ago 12 hooks
Not updated in 12+ years

To customize the social icon link with your own icons easier.

20+ installs Updated 12 years ago 1 hooks
Not updated in 11+ years

It allows to index the custom post types, taxonomies with custom fields easily.

Updated 11 years ago 7 hooks

Alternatives in Developer Tools

See all →
Reviewed
WPCode icon

WPCode

1,933

Easily add code snippets in WordPress. Insert header & footer scripts, add PHP code snippets with conditional logic, insert ads…

3+ million installs Updated 1 week ago 96 hooks
Reviewed

Manage custom WordPress code in one dashboard. Create PHP and HTML snippets, preview code, track snippet totals and reuse code…

1+ million installs Updated 2 weeks ago 66 hooks
Reviewed

Easily add tracking code snippets, conversion pixels, or other scripts required by third party services for analytics, marketing, or chat…

600,000+ installs Updated 4 months ago

Take control of the cron events on your WordPress website or WooCommerce store with WP Crontrol.

300,000+ installs Updated 1 month ago 43 hooks