When I click older entries, it goes to page two, but its the same post as page one. Tried everything in my limited knowledge to fix it, but dont know enough about the way its written to know for sure. Would be very grateful for help.
In my loop.php file, this is what I assume is the area causing the problem-
<div class="pagination"> <?php if($GLOBALS['wp_query']->max_num_pages > 2) : ?><div class="separator"></div><?php endif ?> <?php posts_nav_link(' ', __('Newer Entries', 'pitch'), __('Older Entries', 'pitch')); ?> <?php if($GLOBALS['wp_query']->max_num_pages > 2) : ?><div class="clear"></div><div class="separator"></div><?php endif ?> </div>
[Moderator Note: Please post code or markup snippets between backticks or use the code button. As it stands, your posted code may now have been permanently damaged/corrupted by the forum’s parser.]
- The topic ‘Same posts from my homepage are on all of my different pages’ is closed to new replies.