• 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. Please use the pastebin]

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