Revision: 22031
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at December 29, 2009 10:10 by daipratt
Initial Code
<?php
$date = the_date('F Y', '', '', FALSE);
if ($date){
if ($temp != $date){
echo "<h2 class=\"month-band\">" . $date . "</h2>";
}
$temp = $date;
}
?>
Initial URL
http://zoocha.com/blog/
Initial Description
Stick this inside the <?php> and you get the month group title shown only once for that date range. Sexy.
Initial Title
Month bands for wordpress posts
Initial Tags
wordpress
Initial Language
PHP