The FinderPress tool directory
WordPress plugin
isMobile() Shortcode for WordPress
This plugin works with the open source Mobile Detect Library . You can get further information on its website. [ismobile device='iphone' debug=true ] Your content [/ismobile] Parameters device : Filters the device where you want the content to be shown. It could be more than one device, simply separ
PricingFree downloadThe WordPress.org download is free. Pro versions, add-ons or external services may cost extra.
CompatibilityRequires WordPress 6.0 and PHP 7.4.
SourceWordPress plugins · Oct 17, 2026
01 / Source details
About this tool.
This plugin works with the open source Mobile Detect Library . You can get further information on its website.
[ismobile device='iphone' debug=true ] Your content [/ismobile]
Parameters
- 01device : Filters the device where you want the content to be shown. It could be more than one device, simply separate them with comma.
- 02debug : Shows Mobile Detect Library installed version. Also shows two arrays. The first one contains the devices which the library detects and the second one contains the devices where you want to show the content.
Values
- android : Shows content in Android devices.
- chrome : Shows content on Chrome browser (Only works on mobile devices).
- desktop : Shows content on a computer. Opposite to mobile option.
- ios : Shows content in iOS devices.
- ipad : Shows content on a iPad.
- iphone : Shows content on a iPhone.
- mobile : Shows content on a mobile device (includes tablets and cell phones). Opposite to desktop option.
- phone : Shows content on a cell phone.
- safari : Shows content on Safari browser (Only works on mobile devices).
- samsung : Shows content on Samsung devices.
- tablet : Shows content on a tablet.
02 / Source details
Getting started.
This section describes how to install the plugin and get it working.
- 01Upload the entire plugin folder to the /wp-content/plugins/ directory.
- 02Activate the plugin through the “Plugins” menu in WordPress.
- 03Go to Plugins -> isMobile() to read plugin’s help page.
Minimum Requirements
- 04PHP version 7.4 or greater
Keep exploring