Title: isMobile() Shortcode for WordPress
Author: Jairo Ochoa
Published: <strong>05.11.2018</strong>
Last modified: 03.09.2026

---

Поиск плагинов

![](https://ps.w.org/ismobile/assets/banner-772x250.jpg?rev=2967982)

![](https://ps.w.org/ismobile/assets/icon-256x256.png?rev=1969189)

# isMobile() Shortcode for WordPress

 Автор: [Jairo Ochoa](https://profiles.wordpress.org/jairoochoa/)

[Скачать](https://downloads.wordpress.org/plugin/ismobile.2.0.0.zip)

 * [Детали](https://ru.wordpress.org/plugins/ismobile/#description)
 * [Отзывы](https://ru.wordpress.org/plugins/ismobile/#reviews)
 *  [Установка](https://ru.wordpress.org/plugins/ismobile/#installation)
 * [Разработка](https://ru.wordpress.org/plugins/ismobile/#developers)

 [Поддержка](https://wordpress.org/support/plugin/ismobile/)

## Описание

This plugin works with the open source [Mobile Detect Library](http://mobiledetect.net).
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.

## Установка

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

## Отзывы

![](https://secure.gravatar.com/avatar/bd32ec9cd108d4da374f25e02a072568ef20be167ffcc318d2ca620be1435ec0?
s=60&d=retro&r=g)

### 󠀁[Works great!](https://wordpress.org/support/topic/works-great-9695/)󠁿

 [apollosk](https://profiles.wordpress.org/apollosk/) 08.10.2025

Thank you for this useful plugin. Kudos to the developers!

![](https://secure.gravatar.com/avatar/c199b0f847ab4af840a1952c0ae7d4f6f73270b9fe5d9efc629baefc82e697d4?
s=60&d=retro&r=g)

### 󠀁[Super Sache!](https://wordpress.org/support/topic/super-sache-7/)󠁿

 [vegisto](https://profiles.wordpress.org/vegisto/) 27.01.2025

Wunderbar.Auch das mit dem DEBUG ist sehr hilfreich.Das erspart mir jetzt die Konfiguration
über CSS. Danke dafür.

![](https://secure.gravatar.com/avatar/53711ab6a50a2cad6700b40f6a5206c12b6f5fae9ced752977a11692d3321e29?
s=60&d=retro&r=g)

### 󠀁[Fantastic](https://wordpress.org/support/topic/fantastic-2610/)󠁿

 [Josh Willett](https://profiles.wordpress.org/joshwillett/) 22.10.2020

Works a treat to show information based on android or ios. thank you.

 [ Посмотреть все 3 отзыва ](https://wordpress.org/support/plugin/ismobile/reviews/)

## Участники и разработчики

«isMobile() Shortcode for WordPress» — проект с открытым исходным кодом. В развитие
плагина внесли свой вклад следующие участники:

Участники

 *   [ Jairo Ochoa ](https://profiles.wordpress.org/jairoochoa/)
 *   [ dixitalmedia ](https://profiles.wordpress.org/dixitalmedia/)

«isMobile() Shortcode for WordPress» переведён на 4 языка. Благодарим [переводчиков](https://translate.wordpress.org/projects/wp-plugins/ismobile/contributors)
за их работу.

[Перевести «isMobile() Shortcode for WordPress» на ваш язык.](https://translate.wordpress.org/projects/wp-plugins/ismobile)

### Заинтересованы в разработке?

[Посмотрите код](https://plugins.trac.wordpress.org/browser/ismobile/), проверьте
[SVN репозиторий](https://plugins.svn.wordpress.org/ismobile/), или подпишитесь 
на [журнал разработки](https://plugins.trac.wordpress.org/log/ismobile/) по [RSS](https://plugins.trac.wordpress.org/log/ismobile/?limit=100&mode=stop_on_copy&format=rss).

## Журнал изменений

#### 2.0.0

 * Mobile Detect Library updated to Version 3.74.4 (LTS branch, namespace `Detection\
   MobileDetect`), installed via Composer. This branch supports PHP 7.4 and up with
   no upper bound, so a single bundled version covers the plugin’s whole supported
   PHP range. The old single-file `libs/Mobile_Detect.php` (2.x, deprecated upstream)
   is no longer bundled.
 * Rebuilt Mobile Detect library loading as a compatibility layer that reuses a 
   library already loaded by the theme/another plugin if present, instead of hardcoding
   one specific class.
 * Fixed a bug where the library could be loaded twice (fatal «Cannot redeclare 
   class») under certain conditions.
 * Detection calls no longer fatal the site if the underlying library throws or 
   is missing a method; they safely fall back instead.
 * Added index.php files to every plugin folder to prevent directory listing.
 * Removed the manual load_plugin_textdomain() call (discouraged since WP 4.6; WordPress.
   org loads translations automatically for hosted plugins).
 * Replaced print_r() with implode() in the debug output, and unslashed/hardened
   the $_GET[‘page’] read used to conditionally enqueue admin CSS.
 * Minimum PHP version: 7.4

#### 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

## Мета

 *  Версия **2.0.0**
 *  Обновление: **2 месяца назад**
 *  Активных установок: **100+**
 *  Версия WordPress ** 6.0 или выше **
 *  Совместим вплоть до: **7.1.4**
 *  Версия PHP ** 7.4 или выше **
 *  Языки
 * [Basque](https://eu.wordpress.org/plugins/ismobile/), [English (US)](https://wordpress.org/plugins/ismobile/),
   [Galician](https://gl.wordpress.org/plugins/ismobile/), [Spanish (Chile)](https://cl.wordpress.org/plugins/ismobile/)
   и [Spanish (Spain)](https://es.wordpress.org/plugins/ismobile/).
 *  [Перевести на ваш язык](https://translate.wordpress.org/projects/wp-plugins/ismobile)
 * Метки:
 * [desktop](https://ru.wordpress.org/plugins/tags/desktop/)[ipad](https://ru.wordpress.org/plugins/tags/ipad/)
   [iphone](https://ru.wordpress.org/plugins/tags/iphone/)[mobile](https://ru.wordpress.org/plugins/tags/mobile/)
   [tablet](https://ru.wordpress.org/plugins/tags/tablet/)
 *  [Дополнительно](https://ru.wordpress.org/plugins/ismobile/advanced/)

## Оценки

 5 из 5 звёзд.

 *  [  3 5-звездный отзыв     ](https://wordpress.org/support/plugin/ismobile/reviews/?filter=5)
 *  [  0 4-звездный отзыв     ](https://wordpress.org/support/plugin/ismobile/reviews/?filter=4)
 *  [  0 3-звездный отзыв     ](https://wordpress.org/support/plugin/ismobile/reviews/?filter=3)
 *  [  0 2-звездный отзыв     ](https://wordpress.org/support/plugin/ismobile/reviews/?filter=2)
 *  [  0 1-звездный отзыв     ](https://wordpress.org/support/plugin/ismobile/reviews/?filter=1)

[Ваш отзыв](https://wordpress.org/support/plugin/ismobile/reviews/#new-post)

[Посмотреть всеотзывы](https://wordpress.org/support/plugin/ismobile/reviews/)

## Участники

 *   [ Jairo Ochoa ](https://profiles.wordpress.org/jairoochoa/)
 *   [ dixitalmedia ](https://profiles.wordpress.org/dixitalmedia/)

## Поддержка

Есть что сказать? Нужна помощь?

 [Перейти в форум поддержки](https://wordpress.org/support/plugin/ismobile/)