/ Published in: PHP

Date format guide:
d = 01 to 12 ;
m = 01 to 12 ;
More formats: http://php.net/manual/en/function.date.php
d = 01 to 12 ;
m = 01 to 12 ;
More formats: http://php.net/manual/en/function.date.php
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php echo '<link rel="stylesheet" href="style.css" type="text/css" media="screen" />'; } else { echo '<link rel="stylesheet" href="style_2.css" type="text/css" media="screen" />'; } ?>
URL: http://wordpress.org/support/topic/change-css-according-to-date
Comments
