Hello, Hopefully someone can help me here.
The problem is my Next/Previous Links are not working. When I click on the link it shows the article I already have. I have spent time looking at similar topic problems but I can't seem to find any solution to fix my page.
http://www.jessegunzel.com/blog
I think it may be because I start out with:
<?php get_header(); query_posts('posts_per_page=1'); ?>
Here is my code for the index template. Does anyone see a solution?
<?php get_header(); query_posts('posts_per_page=1'); ?>
<div id="content" class="narrowcolumn">
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class="post" id="post-<?php the_ID(); ?>">
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
<small>Published on <?php the_time('F jS, Y') ?> <!-- by <?php the_author() ?> --></small><img class="size-full wp-image-29" style="vertical-align: top;" title="stroke_top" src="http://www.jessegunzel.com/blog/wp-content/uploads/2008/05/stroke_top.jpg" alt="" width="448" height="3" />
<div class="entry">
<?php the_content('[Read the rest of this article] »'); ?>
</div>
Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit', '', ' | '); ?><?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?><p><img class="size-full wp-image-29" style="vertical-align: top;" title="stroke_top" src="http://www.jessegunzel.com/blog/wp-content/uploads/2008/05/stroke_top.jpg" alt="" width="448" height="3" /></p>
</div>
<?php endwhile; ?>
<div class="navigation">
<div class="alignleft"><?php next_posts_link('« Older Entries') ?></div>
<div class="alignright"><?php previous_posts_link('Newer Entries »') ?></div>
</div>
Thanks for your help!
Jesse