Support » Themes and Templates » Go Naked !

Viewing 12 replies - 1 through 12 (of 12 total)
  • Could we use a plugin for this?

    CSS Naked Day plugin:
    download plugin | view source

    To install, download, upload file to your plugin directory (wp-content/plugins/), and activate CSS Naked Day under Plugins in your WordPress installation.


    Plugin automatically “turns off” stylesheet in themes using bloginfo('stylesheet_url') to call style.css.

    For themes doing something else to load a stylesheet or ones calling additional stylesheets, use the plugin’s is_Naked_Day() conditional function for testing in your templates. Examples:

    <?php if(!is_Naked_Day()) : ?>
    <link rel="stylesheet" type="text/css" href="/css/your_style_sheet.css" />
    <?php endif; ?>


    <?php if (is_Naked_Day()) { ?>
    <!-- It's Naked Day didn't ya know it See for more
    information -->
    <?php } else { ?>
    <style type="text/css">
    <?php } ?>


    Finally, the plugin takes account of your GMT offset (Options > General, Date and Time ‘differ by’) when evaluating date/time. If you don’t want or need this, locate $use_gmt_offset in the is_Naked_Day() function, and set its value to 0 (false).

    Version 1 was a little buggy in date calculation. 1.0.1 should work as expected.

    Haha! Naked Day is on my birthday!!


    wait, we need a plugin to turn off a stylesheet? have we turned into gerbils?

    I don’t know about you Gregor, but I certainly don’t plan to make sure I’m hovering over my computer at 23:59:59 April 4th and the same time April 5th, readying to quickly ftp up differing versions of my header template, one sans stylesheet. That, my friend, is true gerbil behavior.

    Haha, sweet, but my current theme sadly doesn’t do too well without CSS. Hopefully my next one will do better. πŸ™‚

    It’s easy enough to turn off CSS support in your browser if you really want to. Even IE has this functionality.

    Andrea Rennick


    Customer Care at Copyblogger Media and Studiopress

    Happy b-day ladydelaluna! I missed it by one day! Mine is today.

    (let’s clink glasses over here in the corner while we watch the boys go naked.)

    Seriously, though, I think it’s an awesome idea.

    LOL andrea! make mine a cosmo, and happy birthday to you! πŸ™‚



    Happy b-day to andrea-r and in a few hours to you to ladydelaluna…hehehe like the clink glasses in the corner idea.

    As for getting naked…I’m in πŸ™‚

    πŸ™‚ thanks caramella πŸ™‚

    I tried the contact form at the site but it would not work so here is my official notice,
    I’m in (if I don’t crash something along the way).

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Go Naked !’ is closed to new replies.