Det här tillägget har inte testats med någon av de 3 senaste huvudversionerna av WordPress. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem när det används tillsammans med nyare versioner av WordPress.

Responsible

Beskrivning

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

Skärmdumpar

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

Installation

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.

Vanliga frågor

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
}

Recensioner

15 oktober 2016
Very comfortably, no more need to open resource from smartphone!
7 februari 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.
Läs alla 8 betyg

Bidragsgivare och utvecklare

”Responsible” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer

Översätt ”Responsible” till ditt språk.

Intresserad av programutveckling?

Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.

Ändringslogg

1.1

  • Only load CSS assets when admin bar is visible

1.0

  • Initial release