title: Wordpress, The loop: display just 2 posts
body: <p>What's the best way to show just 2 posts in the loop?</p>
  
  <pre><code>&lt;?php
  $i = 1;
  while (have_posts()):
      if ($i == 3)
      {
          break;
      }
      the_post();
      $i++;
  endwhile;
  ?&gt;
  </code></pre>
  
  <p>Is there something more "beatiful" ?</p>