Этот плагин не тестировался с последними 3 основными выпусками WordPress. Скорее всего, он уже не поддерживается и может быть несовместим с текущими версиями WordPress.

SS Device Detector

Описание

The purpose of the plugin is to help both WordPress users and developers with shortcodes and function respectively, to implement a server side responsive solution for their theme.
The difference is substantial compared to solutions like display:none. When using the «display» CSS instruction on, let’s say, an image, the browser actually downloads the entire image and then it hides it. With this solution the image is no longer downloaded.
SS comes from ‘server-side’.

Bugs, suggestions, comments?

If you would like to report bugs, to make a suggestion or a simple comment you can write us at support@siteup.org.uk
Please include the name of plugin either in the subject or in your email body.
Thank you.

Установка

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

  1. Activate the plugin (SS Device Detector) through the ‘Plugins’ menu in WordPress.
  2. Once activated you can use the shortcodes and functions provided by the plugin (see documentation).

Часто задаваемые вопросы

What shortcodes are available?

You can use [stp_phone]Content here...[/stp_phone], [stp_tablet]Content for tablet...[/stp_tablet], [stp_desktop]Content for desktop...[/stp_desktop] and [stp_mobile] Content for phones and tablets alike [/stp_mobile].

What functions are available?

You can use:
stp_phone() returns true if the users are using a phone to view the content, while stp_notphone() returns true if the user is NOT using a phone to view the content;
stp_tablet() returns true if the users are using a tablet to view the content. Vice-versa stp_nottablet();
stp_desktop() returns true for desktop users. You get it by now. Aliases: stp_notdevice() and stp_notmobile();
stp_mobile() returns true for phone and tablet users.

Отзывы

Нет отзывов об этом плагине.

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

«SS Device Detector» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:

Участники

Перевести «SS Device Detector» на ваш язык.

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

Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.

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

1.0.4

  • Tested for WordPress 4.1.1
  • Updated the Mobile Detect library to v2.8.12

1.0.3

  • Tested for WordPress 4.0.
  • Updated to remove some PHP (5.4) notices and warnings

1.0.2

  • Rewritten to add support for PHP 5.2+

1.0.1

  • Compatibility checks.

1.0

  • Initial version.