WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Pagination problems (5 posts)

  1. tjobbe
    Member
    Posted 1 year ago #

    I cannot seem to be able to get my pagination to work on my blog section, can anyone advise me on what I'm doing wrong?

    Currently - I'm getting a "previous" link and it changes the ULR to /page/2 but the content is the same.

    Here is my current code: https://gist.github.com/b8fc2849ec3e16cdc809

  2. keesiemeijer
    moderator
    Posted 1 year ago #

    Why do you have two query_posts? Try combining them:

    query_posts('cat=-3,-9,-10,-11,-12,-13,-14&posts_per_page=6&paged=' . $paged');
  3. tjobbe
    Member
    Posted 1 year ago #

    ..Because I'm an amateur - thanks ;o)

  4. tjobbe
    Member
    Posted 1 year ago #

    Thanks, that's fixed now!

  5. keesiemeijer
    moderator
    Posted 1 year ago #

    You're welcome. I'm glad you've got it resolved.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags