title: Date not showing on consecutive posts on Wordpress
body: <p>I have a news section that shows posts only with a category of "news". The code is shown below.</p>
  
  <p>The problem is, only the first news post gets a date above it. All the posts following the most recent "news post" don't have dates. Anyone have any idea why this is happening?</p>
  
  <pre><code>&lt;div id="news"&gt;
  
              &lt;?php $my_query = new WP_Query('category_name=news&amp;posts_per_page=6'); ?&gt;
                  &lt;marquee ONMOUSEOVER="this.stop();" ONMOUSEOUT="this.start();" direction="up" scrollamount="2" id="newsMarquee"&gt;
  
                  &lt;?php if (have_posts()) : while ($my_query-&gt;have_posts()) : $my_query-&gt;the_post(); ?&gt;
  
                      &lt;div class="post"&gt;
                          &lt;p class="date"&gt;&lt;?php the_date(); ?&gt;&lt;/p&gt;
                          &lt;?php the_content('Read the rest of this entry &amp;raquo;'); ?&gt;
                          &lt;div class="clear"&gt;&lt;/div&gt;
                      &lt;/div&gt;
  
                  &lt;?php endwhile; endif;?&gt;
  
                  &lt;/marquee&gt;
  
          &lt;/div&gt;&lt;!-- /#news --&gt;
  </code></pre>