title: Loop within my single.php WordPress blog only return for one post
body: <p>hi i has a wordpress blog i put this code below within single.php page in side bar
  the code is the same code in the hompage side bar >
  this code is correctly work in hompage sidebar and return to all posts
  but in the single.php sidebar only return to one post.</p>
  
  <pre><code>&lt;?php if (have_posts()) : ?&gt;
  &lt;?php while (have_posts()) : the_post(); ?&gt; 
  
  &lt;div class="new-posts-form"&gt;
  &lt;div class="new-posts-img"&gt;&lt;a href="&lt;?php the_permalink(); ?&gt;"&gt;&lt;/a&gt;&lt;a href="&lt;?php the_permalink(); ?&gt;" title="&lt;?php the_title(); ?&gt;"&gt;&lt;?php the_post_thumbnail(array(100,80)); ?&gt;&lt;/a&gt;&lt;/div&gt;
  &lt;div class="new-posts-title"&gt;&lt;a href="&lt;?php the_permalink(); ?&gt;"&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;&lt;/div&gt;
   &lt;div class="new-post-description"&gt;&lt;?php content('11'); ?&gt;&lt;/div&gt;
   &lt;div class="new-post-add-date-time"&gt;&lt;img src="&lt;?php bloginfo('template_url'); ?&gt;/images/tb_clock.png" /&gt;&lt;?php the_time('F j, Y'); ?&gt; at &lt;?php the_time('g:i a'); ?&gt; : &lt;?php the_category(', ') ?&gt;&lt;/div&gt;
  
  
  &lt;?php endwhile; ?&gt;
  &lt;?php endif; ?&gt;
  </code></pre>