/ Published in: PHP
Stick this inside the
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php $date = the_date('F Y', '', '', FALSE); if ($date){ if ($temp != $date){ echo "<h2 class=\"month-band\">" . $date . "</h2>"; } $temp = $date; } ?>