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

Responsible

Описание

Test your responsive website from the WordPress admin bar. This plugin uses the excellent Viewport Resizer bookmarklet to add a responsive button to the WordPress admin bar. Once pressed you can easily test your site in a range of common viewport sizes (e.g. iPhone, Tablet and Desktop).

The plugin is handy for testing during development and also for writers and editors to preview their content on different devices.

Banner illustration above by Gemma Garner.

a plugin by Scott Evans

Скриншоты

  • Admin bar button with activated viewport resizer toolbar
  • Viewing a website at iPhone dimensions

Установка

To install this plugin:

  1. Upload the responsible folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. That’s it!

Alternatively you can search for the plugin from your WordPress dashboard and install from there.

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

Hooks & Filters

The plugin has one filter that allows you register a custom bookmarklet. You can generate your own here.

add_filter('responsible_bookmarklet', 'custom_bookmarklet');

function custom_bookmarklet() {
    return '';  // add your generated JS/HTML here
}

Отзывы

15.10.2016
Very comfortably, no more need to open resource from smartphone!
07.02.2017
I first heard about this plugin via the WordPress Plugins A to Z podcast. The name was catchy, so when I found myself doing responsive styling work today, I thought I'd try it out. All I can say, is that the interface alone makes this plugin stand out. Responsive coding can be painful, but this plugin adds order to what can become a nightmare of manually resizing your browser window. 5 stars from me. Very nice.
Посмотреть все 8 отзывов

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

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

Участники

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

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

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

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

1.1

  • Only load CSS assets when admin bar is visible

1.0

  • Initial release