Responsible Plugin

Viewport resizing comes to the WordPress admin bar.

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

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.

Screenshots

  1. Admin bar button with activated viewport resizer toolbar

    Admin bar button with activated viewport resizer toolbar

  2. Viewing a website at iPhone dimensions

    Viewing a website at iPhone dimensions

FAQ

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 } 

Changelog

1.1

  • Only load CSS assets when admin bar is visible

1.0

  • Initial release

Details

  • Version: 1.1
  • Active installations: 300
  • WordPress Version: 3.8
  • Tested up to: 4.2.38

Ratings


5 Stars
4 Stars
3 Stars
2 Stars
1 Stars