mrclay.org

Naked Day prep for WordPress users

  1. Open up /wp-content/themes/your-theme/header.php
  2. Replace:
    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
    with:
    <?php
    $DustinsNakedDay_isToday = (date('md')=='0405');
    $DustinsNakedDay_allPages = true; // false for just the home page
    $DustinsNakedDay_getNaked = ($DustinsNakedDay_isToday && (is_home() || $DustinsNakedDay_allPages));
    if(!$DustinsNakedDay_getNaked) { ?>
    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
    <?php } ?>
  3. Wait in anticipation?