WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Query_Posts and Pagination (2 posts)

  1. evoch3n
    Member
    Posted 3 years ago #

    So it's displaying the post correctly, but as soon as I hit older, it changes the URL but it doesn't change the post. If I change the number pages to show it shows the rest.

    What am I doing wrong? I tried searching around, it seems like a lot of people claim that is the paged problem, but I've already added it and it still fails.

    Here's the site:

    http://www.maijmc.net
    Here's the code exactly how I have it
    http://pastebin.com/A8GVnsmx

  2. evoch3n
    Member
    Posted 3 years ago #

    I figured it, if you are having the same problem

    I changed

    $paged = (get_query_var('paged')) ? get_query_var('paged') : 1;

    to

    $paged = (get_query_var('page')) ? get_query_var('page') : 1;

    changed 'paged' to 'page'

    Don't know why it fixed the problem, but it did

Topic Closed

This topic has been closed to new replies.

About this Topic