CSS Naked Day plugin for WordPress automatically strips off XML/HTML stylesheet references, embedded stylesheets and inline styles—all without editing your template! It also provides a function to determine whether it is the 9th of April on the recommended worldwide 48-hour CSS Naked Day period or just your local 24-hour period if ever you want to automate a message telling viewers why your site is in the nude.
Download Plugin
Usable Functions
bool is_naked_day(void)-
returns
truewhen it is the 9th of April on the time span you’ve set,falseotherwise. Sample usage:<?php if (is_naked_day()) { ?> <h3>What happened to the design?</h3> <p>To know more about why styles are disabled on this website visit the <a href="http://naked.dustindiaz.com" title="Web Standards Naked Day Host Website">Annual CSS Naked Day</a> website for more information.</p> <?php } ?>
Known Issues
The plugin would also delete occurences of inline styles (style="") that are intended as text and not as the attribute for styling markup itself. For example, in CSS tutorial pages.
Resolved in Version 1.1.2
In versions prior to 1.1.2, the plugin would cause errors for some inline styles that have escaped quotation marks of the same type as the attribute value delimiter.
For example:
style="font-family:\"Lucida Grande\",\"Lucida Sans Unicode\",sans-serif;"
… would leave …
Lucida Grande\",\"Lucida Sans Unicode\",sans-serif;"
… in the markup, as the regular expression could only remove code from the style attribute only up to the first matching quotation mark without regard to the escaped ones.
Change Log
- Version 1.2
- Released 4 April 2008
-
Changes:
- Changed CSS Naked Day date to reflect event move from April 5 to 9.
- Version 1.1.2
- Released 6 April 2007
-
Changes:
- Fixed regex for patterns to avoid possible conflicts.
- Fixed known issue about escaped quotation marks in inline styles.
- Version 1.1.1
- Released 5 April 2007
-
Changes:
- Fixed stylesheet reference regex/consuming all
<link>elements before targetted one.
- Fixed stylesheet reference regex/consuming all
- Version 1.1
- Released 31 March 2007
-
Changes:
- Added option to activate only during the 24-hour local time.
- Added configuration page.
- Version 1.0.1
- Released 30 March 2007:
-
Changes:
- Fixed embedded stylesheet regex/conflict with delimiter.
- Version 1.0
- Released 28 March 2007
-
- First release of the CSS Naked Day plugin.
License
Copyright © 2007-2008 Aja Lorenzo Lapus
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Pingback: 貳壹柒零 » Blog Archive » The ways to get nude
Pingback: SEO Woman gets naked - SEO Woman
I miss accesskeys on this website
Pingback: Tempus Fugit » “Tempus Fugit” al desnudo
Pingback: CSS Naked Day #3
Pingback: Dilbert contra la Web 2.0 - Gedankenexperiment
Pingback: CSS Naked Day | Guillermo López
Pingback: css naked day auf der netzturbine | linux,macs, asterisk und anderes
Great Plugin! Thank you.
Pingback: Wo ist mein Design hin? | gefangen im netz
Pingback: Coming late to Naked Day at Niles’s Blog
Pingback: G2 sin estilos | Blog de un estudiante de ingenierÃa de sistemas. | G2 Blog
Pingback: 09. april - naked css day | wohnsilo
Pingback: Today is CSS Naked Day » Justin Henry's green galoshes
Pingback: Kornels Welt » Blog Archiv » CSS Naked Day
Pingback: El dÃa sin CSS se ha celebrado y ni me he enterado
Pingback: Zenful Creations gets Naked! at Zenful Creations Blog
Pingback: Go Sexy On CSS Naked Day | .:|:. Jabunta .:|:.
Pingback: Z-log » CSS naked day
Pingback: Customin.net - Personal portfolio and development blog » Blog Archive » CSS Naked Day
Pingback: Michno’s Blog » Blog Archive » CSS Naked Day
hi there .thanks for plugin:
Does anybody know if tis script is compatible with WordPress 2.5.1?
Thanks in advance for any help on this!
best regards
Yes, it is compatible with the latest WordPress.
Pingback: CSS è£¸ä½“èŠ‚ï¼Œä»Šå¤©ä½ è£¸äº†å—? | SEO界
Pingback: Plugin WordPress yang Masih Terpasang - Dani Iswara .Net - Indonesia Physician Weblog
Pingback: Dilbert contra la Web 2.0 ¶ Mi Habari
Now that’s funny, I never knew there was a CSS-naked day, but I’ll sure be a part of it next year!
Pingback: Michno’s Blog » Blog Archive » CSS Naked Day
Will there be a second CSS-naked day? I also would like to participate. If there will be another one please post the next event.
Pingback: » CSS Naked Day - WordPress Plugins Catalog
Pingback: En.nicuilie.eu Blogs » Top 1000 WordPress Plugin Authors
Pingback: セサミン・ラボ › Wordpress ã§å¿˜ã‚Œãšã« CSS Naked Day ã«å‚åŠ ã™ã‚‹æ–¹æ³•
thank you
Pingback: CSS Naked Day (9 de Abril del 2009) | aNieto2K
Pingback: I'm getting Naked! | Symphonic
Pingback: rzepak.pure.pl | I’m going nude czyli CSS Naked Day
Pingback: go naked - CSS Naked Day | OLNO
Pingback: CSS裸奔节 | 80Sfamily
Pingback: CSS裸奔日,ä¸ç©¿è¡£æœä¸€å¤© | iLoveMac.cn
Pingback: CCS Naked Day ‘09 - kcxlife.net
Pingback: WordPress CSS裸奔æ’ä»¶: CSS Naked Day « Wordpressæ’ä»¶
Pingback: Nature is the best » 2009 CSS Naked Day - 2009网页裸奔节 - Learn to enjoy your life
Pingback: 2009网页裸奔节å¯åЍ - ä¹ç±³
Pingback: 2009网页裸奔节å¯åЍ æ•™ä½ å¦‚ä½•è®©ç½‘é¡µè£¸å¥” | 互è”网的那点事...
Pingback: 2009网页裸奔节 | 80年代
Pingback: Css naked Day 09 | 木鱼
Pingback: I’m nekkid! | AndiePandie.net
Pingback: CSS裸奔节 | 80s'Family
Pingback: CSS-vaba päev » Aarne bloog
Pingback: 裸奔了 | jsssc