WP Mobile Detect
One of the hardest parts of building Responsive WordPress themes is maintaining responsive integrity after the site goes live. User Admins can have limited coding abilities which can prevent them from maintaining…
Utiliser avec prudence
WP Mobile Detect works, but test it on a staging site before relying on it in 2026. It runs on 5K+ sites, is rated 4.8/5 and was last updated 9 years ago, and scores 45/100 on our health check.
- Loved by users — 4.8/5 from 64 reviews
- Momentum — downloads up 16.4% vs the previous 30 days
- Pas de mise à jour dans 8 ans
- Uniquement testé jusqu'à WordPress 4,2 (le dernier est de 7,1)
Comment s'accumule-t-il ?
Côte à côte sur les installations, les mises à jour, les évaluations et le supportTéléchargements quotidiens
Les pics de téléchargement suivent généralement une nouvelle version - chaque site qui met à jour automatiquement compte comme un téléchargement.
Classements
Where WP Mobile Detect stands todayWordPress.org Classements de recherche
Position en direct dans la recherche de plugins, Top 100| Mot-clé | Position |
|---|---|
| browsers | >100 |
| mobile | >100 |
| sensible | >100 |
Adoption de version
Part de sites actifs par version.
Répartition des notes
★★★★★★★★★★ 4.8 from 64 reviews
About WP Mobile Detect
À partir du Lisez-moi officiel · v2.0Description
One of the hardest parts of building Responsive WordPress themes is maintaining responsive integrity after the site goes live. User Admins can have limited coding abilities which can prevent them from maintaining responsiveness in themes.
WP Mobile Detect aims to make it extremely easy for anyone to wrap content in the editor with shortcodes which will hide content based on visitor device at the server level.
No longer do we need to rely on display:none; or other techniques to hide content for mobile devices. Instead we can replace content with alternatives. When a full-size infographic in your post is unknowingly displayed on a visitors phone we can consider that an Non-user initiated download. In other words that visitor had no idea what they were getting into and you possibly just choked their bandwidth.
WP Mobile detect gives you the ability to wrap that infographic in a [notdevice][/notdevice] shortcode so at the server level WordPress will decide to show that content only if the user is NOT on a phone or tablet. Alternatively you can wrap a link and corresponding text to that info graphic in a [device][/device] shortcode as a way for the visitor to consume that content if they so choose.
This plugin is based on the PHP Mobile Detect class
WordPress Plugin written by Jesse Friedman
Installation
Cette section décrit comment installer le plugin et le faire fonctionner.
ex.
- Téléchargez le dossier
wp-mobile-detectdans le répertoire/wp-content/plugins/ - Activez le plugin via le menu « Plugins » dans WordPress
- Start using the shortcodes in your content or functions in your theme
Journal de modifications
2.0
- Updated the core Mobile Detect Class 2.8.13
- Updated shortcodes, adding [blackberry], [chrome], [safari], [opera], [ie], [firefox]
- Updated functions, adding wpmd_is_blackberry(), wpmd_is_chrome_browser(), wpmd_is_safari_browser(), wpmd_is_opera_browser(), wpmd_is_ie_browser(), wpmd_is_firefox_browser()
- Updated readme and some links
1.2.0
- Addition of several more shortcodes: [ios][/ios], [iPhone][/iPhone],][iPad][/iPad], [android][/android], [windowsmobile][/windowsmobile]
- Addition of several more functions: wpmd_is_ios(), wpmd_is_iphone(), wpmd_is_ipad(), wpmd_is_android(), wpmd_is_windows_mobile()
- Updated the core Mobile Detect Class 2.5.8
1.1.0
- Changed function namespace prefix from “jesse_” to “wpmd_”
- Deprecated [tab] shortcode, replaced by [tablet]
- Addition of theme functions for mobile detection
- Fixed bug where shortcodes would not run inside the mobile detect shortcodes
1.0.0
Version initiale.
Pour les développeurs
Est-ce votre plugin ? Montrez les chiffres.
Ajoutez un badge en direct à votre site, docs ou github readme. Il se met à jour par lui-même - aucun compte n'est nécessaire.
Best WP Mobile Detect alternatives
All browsers plugins →FAQ
WP Mobile Detect: quick answers
Réponses directes, extraites des données en direct WordPress.org.
Source : WordPress.org
Is WP Mobile Detect free?
Yes. WP Mobile Detect is free to download and use from the official WordPress.org plugin directory.
Is WP Mobile Detect safe to use in 2026?
WP Mobile Detect works, but test it on a staging site before relying on it in 2026. It runs on 5K+ sites, is rated 4.8/5 and was last updated 9 years ago, and scores 45/100 on our health check.
How many websites use WP Mobile Detect?
WP Mobile Detect is active on 5K+ WordPress websites and has been downloaded 92,317 times since it launched in July 2012. It was downloaded 560 times in the last 30 days.
Does WP Mobile Detect work with WordPress 7.1?
WP Mobile Detect is officially tested up to WordPress 4.2.39, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
When was WP Mobile Detect last updated?
The latest version, 2.0, was released on November 28, 2017 (9 years ago).
Who makes WP Mobile Detect?
WP Mobile Detect is developed and maintained by Jesse Friedman.
What are the best alternatives to WP Mobile Detect?
The most popular alternatives to WP Mobile Detect are Mobile Detect (3K+ installs), Outdated Browser (40+ installs) and Conditional Stylesheets and… (40+ installs).
Propulsé par PageForge
Un modèle et une feuille de calcul. Une vraie page pour chaque recherche.
PageForge transforme chaque ligne d'un CSV en une page WordPress avec son propre titre, URL, SEO et schéma, construit sur la mise en page que vous Déjà conçu. Gratuit sur WordPress.org.
- CSV et XLSX, plus Google Sheets sur les professionnels et les entreprises
- Son propre titre, URL, SEO champs et schéma pour chaque page
- Fonctionne avec l'éditeur de blocs, Elementor, Divi et Avada
- Gratuit sur WordPress.org, pas de carte de crédit
