< ?php $thedate = date("Y"); while (have_posts()) : the_post(); if ($thedate == the_date('Y','','',FALSE)) { if ($thedate != date("Y")) echo "

\n\n”;
echo “

  • “.$thedate.”

    \n