{"id":1702,"date":"2007-03-30T11:56:15","date_gmt":"2007-03-30T11:56:15","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/css-naked-day-noscript\/"},"modified":"2008-04-04T02:37:05","modified_gmt":"2008-04-04T02:37:05","slug":"css-naked-day-noscript","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/css-naked-day-noscript\/","author":165026,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.2","stable_tag":"trunk","tested":"2.5","requires":"2.1","requires_php":"","requires_plugins":"","header_name":"CSS Naked Day","header_author":"Aja Lorenzo Lapus","header_description":"","assets_banners_color":"","last_updated":"2008-04-04 02:37:05","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/www.ajalapus.com\/donate\/","header_plugin_uri":"http:\/\/www.ajalapus.com\/downloads\/css-naked-day\/","header_author_uri":"http:\/\/www.ajalapus.com\/","rating":5,"author_block_rating":0,"active_installs":10,"downloads":4757,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"1"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.0.1","1.1","1.1.1","1.1.2"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[356,4072,1975,21108,1776],"plugin_category":[46,59],"plugin_contributors":[83660],"plugin_business_model":[],"class_list":["post-1702","plugin","type-plugin","status-closed","hentry","plugin_tags-css","plugin_tags-design","plugin_tags-formatting","plugin_tags-naked-day","plugin_tags-stylesheets","plugin_category-editor-and-writing","plugin_category-utilities-and-tools","plugin_contributors-ajalapus","plugin_committers-ajalapus"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/css-naked-day-noscript.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<blockquote>\n  <p>The idea behind CSS Naked Day is to promote Web Standards. Plain and simple.\n  This includes proper use of (X)HTML, semantic markup, a good hierarchy structure, and; well, a fun play on words.\n  I mean, who doesn't want to get naked? \u2014Dustin Diaz, Founder of CSS Naked Day<\/p>\n<\/blockquote>\n\n<p>This CSS Naked Day plugin automatically strips off the following code from your site\nwithout you having to edit your themes:<\/p>\n\n<ul>\n<li>X(HT)ML stylesheet directives: <code>&lt;?xml-stylesheet \u2026 ?&gt;<\/code><\/li>\n<li>(X)HTML stylesheet references: <code>&lt;link rel=\"stylesheet\" \u2026 \/&gt;<\/code> or <code>&lt;link rel='stylesheet' \u2026 \/&gt;<\/code><\/li>\n<li>(X)HTML embedded stylesheets: <code>&lt;style&gt; \u2026 &lt;\/style&gt;<\/code><\/li>\n<li>(X)HTML inline stylesheets: <code>style=\"\u2026\"<\/code> or <code>style='\u2026'<\/code><\/li>\n<\/ul>\n\n<p>Since version 1.1, you have an option to activate it during the recommended worldwide 48-hour CSS Naked Day period,\nor just the local 24-hour period.<\/p>\n\n<p>For more information about the event, visit: <a href=\"http:\/\/naked.dustindiaz.com\/\">The Official CSS Naked Day Page<\/a>.<\/p>\n\n<h3>Known Issues<\/h3>\n\n<h4>Unresolved<\/h4>\n\n<p>The plugin would also delete occurences of inline styles (<code>style=\"\"<\/code>) that are intended as text and not as the\nattribute for styling markup itself. For example, in CSS tutorial pages.<\/p>\n\n<h4>Resolved in version 1.1.2<\/h4>\n\n<p>In versions prior to 1.1.2, the plugin would cause errors for some inline styles that have escaped quotation marks of\nthe same type as the attribute value delimiter.<\/p>\n\n<p>For example:<\/p>\n\n<pre><code>style=\"font-family:\\\"Lucida Grande\\\",\\\"Lucida Sans Unicode\\\",sans-serif;\"\n<\/code><\/pre>\n\n<p>... would leave ...<\/p>\n\n<pre><code>Lucida Grande\\\",\\\"Lucida Sans Unicode\\\",sans-serif;\"\n<\/code><\/pre>\n\n<p>... in the markup, as the regular expression could only remove code from the <code>style<\/code> attribute only up to the first\nmatching quotation mark without regard to the escaped ones.<\/p>\n\n<!--section=installation-->\n<h4>First Time Installation<\/h4>\n\n<ol>\n<li>Upload <code>css-naked-day.php<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<li>Select configuration options in the Options \u00bb CSS Naked Day page.<\/li>\n<li>Wait until the 9th of April for the Plugin to strip your site naked.<\/li>\n<\/ol>\n\n<p><em>Step 3 is optional.<\/em><\/p>\n\n<h4>Upgrading to the latest bug fix<\/h4>\n\n<p><em>(versions 1.1.x to 1.2)<\/em><\/p>\n\n<ol>\n<li>Upload <code>css-naked-day.php<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory replacing the old file.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress if you haven't already.<\/li>\n<li>Wait until the 9th of April for the Plugin to strip your site naked.<\/li>\n<\/ol>\n\n<h4>Upgrading 1.0.x to 1.2<\/h4>\n\n<p>If you already have installed CSS Naked Day plugin with version prior to 1.1, follow the steps below.<\/p>\n\n<ol>\n<li>Deactivate the outdated plugin.<\/li>\n<li>Delete the old plugin file from the <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Upload the new version of the plugin.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<li>Select configuration options in the Options \u00bb CSS Naked Day page.<\/li>\n<li>Wait until the 9th of April for the Plugin to strip your site naked.<\/li>\n<\/ol>\n\n<p><em>Steps 1 and 2 ensures the new plugin has been activated with options. Step 5 is optional.<\/em><\/p>\n\n<!--section=faq-->\n<dl>\n<dt>What differences does this plugin have compared to other CSS Naked Day plugins?<\/dt>\n<dd><ol>\n<li>This plugin removes all CSS stylesheets from the page before it sends the data to the viewers' browsers.<\/li>\n<li>It doesn't use client-side scripting to remove styles, which may be turned off or unsupported in other browsers,\nso everyone would see your page in its natural, naked form.<\/li>\n<li>It doesn't require the user to edit his\/her theme files.<\/li>\n<\/ol><\/dd>\n<dt>How could I display a message only on the 9th of April telling why my site is naked?<\/dt>\n<dd><p>Use the <code>is_naked_day()<\/code> function inside an <code>if ()<\/code> block. <code>is_naked_day()<\/code> returns <code>true<\/code> when it is April 9,\notherwise it returns <code>false<\/code>.<\/p>\n\n<p>Example:<\/p>\n\n<pre><code>&lt;?php if (is_naked_day()) { ?&gt; Message why my site is naked. &lt;?php } ?&gt;\n<\/code><\/pre><\/dd>\n\n<\/dl>","raw_excerpt":"Automatically strips off stylesheets without editing themes during the Annual CSS Naked Day.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/1702","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=1702"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/ajalapus"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=1702"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=1702"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=1702"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=1702"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=1702"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=1702"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}