isMobile() Shortcode for WordPress

Àpèjúwe

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

  1. device: Filters the device where you want the content to be shown. It could be more than one device, simply separate them with comma.
  2. debug: 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.

Ìgbéwọlẹ̀

This section describes how to install the plugin and get it working.

  1. Upload the entire plugin folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the “Plugins” menu in WordPress.
  3. Go to Plugins -> isMobile() to read plugin’s help page.

Minimum Requirements

  • PHP version 7.4 or greater

Àwọn àgbéyẹ̀wò

Ọ̀wàrà 8, 2025
Thank you for this useful plugin. Kudos to the developers!
Ṣẹrẹ 27, 2025
Wunderbar.Auch das mit dem DEBUG ist sehr hilfreich.Das erspart mir jetzt die Konfiguration über CSS. Danke dafür.
Ọ̀wàrà 22, 2020
Works a treat to show information based on android or ios. thank you.
Ka gbogbo àwọn àgbéyẹ̀wò 3

Àwọn Olùkópa & Olùgbéejáde

“isMobile() Shortcode for WordPress” jẹ́ ètò ìṣàmúlò orísun ṣíṣí sílẹ̀. Àwọn ènìyàn wọ̀nyí ti ṣe ìkópa sí plugin yìí.

Àwọn Olùkópa

A ti túmọ̀ “isMobile() Shortcode for WordPress” sí àwọn èdè agbègbè 4. Ọpẹ́lọpẹ́ fún àwọn atúmọ̀ èdè fún àwọn ìkópa wọn.

Túmọ̀ “isMobile() Shortcode for WordPress” sí èdè rẹ.

Ṣe o nífẹ̀ẹ́ sí ìdàgbàsókè?

Ṣàwárí koodu, ṣàyẹ̀wò ibi ìpamọ́ SVN, tàbí ṣe àgbékalẹ̀ sí àkọsílẹ̀ ìdàgbàsókè nípasẹ̀ RSS.

Àkọsílẹ̀ àwọn àyípadà

1.1.2

  • Updated last WordPress version tested
  • Security fixes

1.1.1

  • Mobile Detect Library downgrade to Version 2.8.41

1.1

  • Updated last WordPress version tested
  • Mobile Detect Library updated to Version 3.74.0
  • Minimum PHP version: 7.4

1.0.3

  • Updated last WordPress version tested

1.0.2

  • Mobile Detect Library updated to Version 2.8.39

1.0.1

  • Mobile Detect Library updated to Version 2.8.34

1.0

  • Initial Release