title: Can some one explain why WordPress pagination doesn't like custom loops?
body: <p>I have the exact same issue as <a href="https://stackoverflow.com/questions/14286352/pagination-elements-not-displaying-in-wordpress-loop">This other stack post</a>. How ever I cannot figure out what the replier means by this. I have tried their example in my custom loop which looks identical to the OP, how ever the pagination does not work. It does not show up.</p>
  
  <p>I also have this issue in this loop:</p>
  
  <pre><code>$attr = array(
      'align' =&gt; 'left',
      'class' =&gt; 'thumbnail imageRight',
      'width' =&gt; 350,
      'height' =&gt; 350
  );
  
  if(have_posts()){
      while(have_posts()){
          the_post();
          ?&gt;
          &lt;div class="post"&gt;
              &lt;?php the_post_thumbnail('medium', $attr); ?&gt;
              &lt;h1&gt;&lt;a href="&lt;?php the_permalink(); ?&gt;"&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;&lt;/h1&gt;
              &lt;p&gt;&lt;?php the_excerpt(); ?&gt;&lt;/p&gt;
          &lt;/div&gt;
          &lt;?php
      }
  
      next_posts_link('&amp;laquo; Older Entries');
      previous_posts_link('Newer Entries &amp;raquo;');
  }
  </code></pre>
  
  <p>Where the pagination will not show up at all, If I echo something above and below I see the echoed text, obv, but I do not see the  pagination links....</p>
  
  <p>I have set WP to display 3 posts per page, and I have over 45 posts in the database.</p>