Wordpress not displaying next page

Status
Not open for further replies.

RockDiesel

New member
Nov 29, 2007
1,419
16
0
I just noticed this on one of my blogs today. When I click on the previous page link the url changes to page 2, but the actual posts displayed on the page are still the same from page 1. I go to page 3, but page 1 posts are still displayed, and so on.

I am assuming it is this code that is giving me the problem, but this is the first time this has happened to me, so not sure how to fix it.

PHP:
<?php posts_nav_link(' — ', __('« Previous Page'), __('Next Page »')); ?>

Anyone have a quick fix for this?
 


how many posts do u have in your wordpress site?....and also...what do u have the number of posts to show on page setting set at?...6?..8?...10?..
 
Also, what page do you have setup to show for the home page (the default, or something else)?
 
If you're using a caching plugin, try clearing it.

Also, maybe try installing a pagination plugin if you don't have one already.
 
make sure in your single.php file (under your current template directory) isnt missing the following code:
<?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
will usually follow this:
<?php the_content(); ?>
 
Status
Not open for further replies.