{"id":28571,"date":"2014-03-26T09:52:56","date_gmt":"2014-03-26T09:52:56","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/responsible\/"},"modified":"2015-05-08T15:02:15","modified_gmt":"2015-05-08T15:02:15","slug":"responsible","status":"closed","type":"plugin","link":"https:\/\/cor.wordpress.org\/plugins\/responsible\/","author":8212694,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.1","stable_tag":"trunk","tested":"4.2.39","requires":"3.8","requires_php":"","requires_plugins":"","header_name":"Responsible","header_author":"Scott Evans (Code For The People)","header_description":"","assets_banners_color":"d0dff6","last_updated":"2015-05-08 15:02:15","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/cftp\/responsible","header_author_uri":"http:\/\/codeforthepeople.com","rating":5,"author_block_rating":0,"active_installs":200,"downloads":11476,"num_ratings":8,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"8"},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":"1156232","resolution":"128x128","location":"assets"},"icon-256x256.png":{"filename":"icon-256x256.png","revision":"1156232","resolution":"256x256","location":"assets"}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":"1156232","resolution":"1544x500","location":"assets"},"banner-772x250.png":{"filename":"banner-772x250.png","revision":"1156232","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1156232","resolution":"1","location":"assets"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1156232","resolution":"2","location":"assets"}},"screenshots":{"1":"Admin bar button with activated viewport resizer toolbar","2":"Viewing a website at iPhone dimensions"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[5729,20961,53595,606,23139],"plugin_category":[],"plugin_contributors":[77921,77920],"plugin_business_model":[],"class_list":["post-28571","plugin","type-plugin","status-closed","hentry","plugin_tags-resizer","plugin_tags-resizing","plugin_tags-responsible","plugin_tags-responsive","plugin_tags-viewport","plugin_contributors-codeforthepeople","plugin_contributors-scottsweb","plugin_committers-scottsweb"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/responsible_d0dff6.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/responsible\/assets\/screenshot-1.png?rev=1156232","caption":"Admin bar button with activated viewport resizer toolbar"},{"src":"https:\/\/ps.w.org\/responsible\/assets\/screenshot-2.png?rev=1156232","caption":"Viewing a website at iPhone dimensions"}],"raw_content":"<!--section=description-->\n<p>Test your responsive website from the WordPress admin bar. This plugin uses the excellent <a href=\"http:\/\/lab.maltewassermann.com\/viewport-resizer\/\">Viewport Resizer bookmarklet<\/a> 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).<\/p>\n\n<p>The plugin is handy for testing during development and also for writers and editors to preview their content on different devices.<\/p>\n\n<p>Banner illustration above by <a href=\"http:\/\/gemmagarner.com\/\" title=\"WordPress design and illustration\">Gemma Garner<\/a>.<\/p>\n\n<p><a href=\"http:\/\/scott.ee\/\" title=\"WordPress web design Hampshire\">a plugin by Scott Evans<\/a><\/p>\n\n<!--section=installation-->\n<p>To install this plugin:<\/p>\n\n<ol>\n<li>Upload the <code>responsible<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>That's it!<\/li>\n<\/ol>\n\n<p>Alternatively you can search for the plugin from your WordPress dashboard and install from there.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt>Hooks &amp; Filters<\/dt>\n<dd><p>The plugin has one filter that allows you register a custom bookmarklet. You can generate your own <a href=\"http:\/\/lab.maltewassermann.com\/viewport-resizer\/\">here<\/a>.<\/p>\n\n<pre><code>add_filter('responsible_bookmarklet', 'custom_bookmarklet');\n\nfunction custom_bookmarklet() {\n    return '';  \/\/ add your generated JS\/HTML here\n}\n<\/code><\/pre><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.1<\/h4>\n\n<ul>\n<li>Only load CSS assets when admin bar is visible<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"Viewport resizing comes to the WordPress admin bar.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/cor.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/28571","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cor.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/cor.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/cor.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=28571"}],"author":[{"embeddable":true,"href":"https:\/\/cor.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/scottsweb"}],"wp:attachment":[{"href":"https:\/\/cor.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=28571"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/cor.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=28571"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/cor.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=28571"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/cor.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=28571"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/cor.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=28571"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/cor.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=28571"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}