{"id":21556,"date":"2013-01-13T06:33:48","date_gmt":"2013-01-13T06:33:48","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/responsive-opt-out\/"},"modified":"2013-04-28T10:21:10","modified_gmt":"2013-04-28T10:21:10","slug":"responsive-opt-out","status":"publish","type":"plugin","link":"https:\/\/lmo.wordpress.org\/plugins\/responsive-opt-out\/","author":8917248,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.3","stable_tag":"trunk","tested":"3.5.2","requires":"3.4","requires_php":"","requires_plugins":"","header_name":"Responsive Opt-Out","header_author":"Ulrich Pogson","header_description":"","assets_banners_color":"","last_updated":"2013-04-28 10:21:10","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/ulrich.pogson.ch\/","header_plugin_uri":"http:\/\/wordpress.org\/extend\/plugins\/responsive-opt-out\/","header_author_uri":"http:\/\/ulrich.pogson.ch","rating":5,"author_block_rating":0,"active_installs":20,"downloads":3438,"num_ratings":3,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":{"0.3":"<p>Fix setting cookie<\/p>","0.2":"<p>Fix cookie path<\/p>","0.1":"<p>Initial Release<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"3"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[53726,44115,606],"plugin_category":[],"plugin_contributors":[80561],"plugin_business_model":[],"class_list":["post-21556","plugin","type-plugin","status-publish","hentry","plugin_tags-fixed-width","plugin_tags-opt-out","plugin_tags-responsive","plugin_contributors-grapplerulrich","plugin_committers-grapplerulrich"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/responsive-opt-out.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This simple setup creates a body class called \"responsive\" and \"fixed-width\" both are added to the body class of your Theme. These two classes are used to define whether or not the visitor wants a \"responsive\" environment.<\/p>\n\n<!--section=installation-->\n<p>You can either install it automatically from the WordPress admin, or do it manually:<\/p>\n\n<ol>\n<li>Unzip the archive and put the <code>responsive-opt-out<\/code> folder into your plugins folder (\/wp-content\/plugins\/).<\/li>\n<li>Activate the plugin from the Plugins menu.<\/li>\n<\/ol>\n\n<h4>Buttons<\/h4>\n\n<p>So that you have the buttons to switch you will need this html code. They can be added anywhere.<\/p>\n\n<pre><code>&lt;a href=\"#\" onclick=\"return FixedWidth();\" class=\"fixed-width-link\"&gt;Fixed Width&lt;\/a&gt;\n&lt;a href=\"#\" onclick=\"return Responsive()\" class=\"responsive-link\"&gt;Reponsive&lt;\/a&gt;\n<\/code><\/pre>\n\n<h4>CSS\/Styling<\/h4>\n\n<p>This plugin has no css. So that the buttons display in the correct view the following css need to be added to your theme's style.css file directly.<\/p>\n\n<pre><code>.responsive .fixed-width-link {\n    display: block!important;\n}\n.responsive .responsive-link {\n    display: none!important;\n}\n.fixed-width .fixed-width-link {\n    display: none!important;\n}\n.fixed-width .responsive-link {\n    display: block!important;\n}\n<\/code><\/pre>\n\n<p>Add the class \".fixed-width\" infront of any styles that you add for a fixed width design and \".responsive\" for the responsive design.<\/p>\n\n<p><a href=\"http:\/\/themeid.com\/responsive-opt-out-plugin\/\">Blog post on intregration with Responsive theme<\/a><\/p>\n\n<!--section=changelog-->\n<h4>0.3<\/h4>\n\n<p>Fix setting cookie<\/p>\n\n<h4>0.2<\/h4>\n\n<p>Fix cookie path<\/p>\n\n<h4>0.1<\/h4>\n\n<p>Initial Release<\/p>","raw_excerpt":"Responsive Opt-Out allows visitors of your site to switch between the flexible and fixed width layout.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/21556","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=21556"}],"author":[{"embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/grapplerulrich"}],"wp:attachment":[{"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=21556"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=21556"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=21556"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=21556"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=21556"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=21556"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}