Support » Fixing WordPress » Query_Posts and Pagination

  • Resolved evoch3n

    (@evoch3n)


    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

Viewing 1 replies (of 1 total)
  • evoch3n

    (@evoch3n)

    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

Viewing 1 replies (of 1 total)
  • The topic ‘Query_Posts and Pagination’ is closed to new replies.