title: WordPress: next_posts_link() doesn't work before page template loop
body: <p>I have an archive page template that I've built that has a successful navigation at the end of the loop. However, now I want to add an additional navigation at the top. However, after I copied and pasted the exact code, the 'Previous Entries' displays and links correctly, but 'Next Entries' never shows up as it does in the bottom navigation.</p>
  
  <p>In my page-archive.php file, this is gist of my code:</p>
  
  <pre><code>&lt;div class="navigation top"&gt;
  &lt;?php next_posts_link('Next Entries') ?&gt; &lt;!-- Doesn't appear to show up! --&gt;
  &lt;?php previous_posts_link('Previous Entries') ?&gt;
  &lt;/div&gt;
  
  &lt;?php $page = (get_query_var('paged')) ? get_query_var('paged') : 1; query_posts("showposts=1&amp;paged=$page");
  while ( have_posts() ) : the_post() ?&gt;
  
  &lt;div id="post-&lt;?php the_ID(); ?&gt;" &lt;?php post_class(); ?&gt;&gt;
  &lt;h3&gt;&lt;a href="&lt;?php the_permalink() ?&gt;" &gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;&lt;/h3&gt;
  &lt;?php the_content(); ?&gt;
  &lt;/div&gt;
  
  &lt;?php endwhile; ?&gt;
  
  &lt;div class="navigation bottom"&gt;
  &lt;?php next_posts_link('Next Entries') ?&gt;
  &lt;?php previous_posts_link('Previous Entries') ?&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I understand that a Page template is not the ideal method to create an archive page, so if there is a different method for producing a full customizable archive page, please inform me! </p>
  
  <p>Currently, I'm using my home.php file to display static content, so the page-archive.php is a method to direct users to the actual "Blog" portion of the site.</p>