Title: Pagination Problem
Last modified: August 20, 2016

---

# Pagination Problem

 *  [hwhjryu](https://wordpress.org/support/users/hwhjryu/)
 * (@hwhjryu)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/pagination-problem-18/)
 * I’m having trouble with pagination.
    Everything works fine, even pagination except
   that I can’t seem to stay on the same page. What I mean is I have a “News” page
   which shows one post (title+content), the most recent post when you first open
   the page, followed by a list of 5 posts, let’s say posts 1-5 (just titles). If
   you click on any of those 5 posts, the content on top would change to that. But
   when I go to the next page to see the list of post 6-10 that’s when the problem
   starts.
 * I want to display the most recent post (title+content)
    from those posts, in 
   this case 6-10. But currently it shows whatever last posts was clicked.
 * Also a bigger problem is that when I click on any of those titles,
    it would 
   show the title+content of that post, but the list at the bottom would change 
   to the first page. What can I do so it stays on the same page unless I click 
   on next or previous??? Please help!!!
 * this is the code that I currently have for my single.php
 * _[Code moderated as per the [Forum Rules](http://codex.wordpress.org/Forum_Welcome#Posting_Code).
   Please use the [pastebin](http://wordpress.pastebin.com/)]_

The topic ‘Pagination Problem’ is closed to new replies.

## Tags

 * [page](https://wordpress.org/support/topic-tag/page/)
 * [pagination](https://wordpress.org/support/topic-tag/pagination/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [hwhjryu](https://wordpress.org/support/users/hwhjryu/)
 * Last activity: [14 years, 8 months ago](https://wordpress.org/support/topic/pagination-problem-18/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
