WordPress.org

Ready to get started?Download WordPress

Forums

Older Entries loads same page (8 posts)

  1. jhannigan
    Member
    Posted 5 years ago #

    I have an issue with the main page of my blog. When I click Older Entries, it just loads the main page again but adds /page/2/ on the end of the URL.

    Older Entries works fine on the Archive and Search pages. The code for the older entries links is the same as the Archives and Search, and those work perfectly, so I know its not code, but must be something weird.

    Anyone ever see this before? Can anyone help?

    http://www.josephhannigan.com/blog2

  2. jhannigan
    Member
    Posted 5 years ago #

    anyone?

  3. designsimply
    Member
    Posted 5 years ago #

    Does it work if you (temporarily) switch to the default theme?

  4. jhannigan
    Member
    Posted 5 years ago #

    Yes it does work with the default themes, must be something with the template then. I've contacted the person who made it but haven't heard anything back.

  5. wotta
    Member
    Posted 5 years ago #

    Can you tell me how you fixed this? We are having the same problem on our blog.

    http://www.ps3blog.eu.com

  6. jhannigan
    Member
    Posted 5 years ago #

    Never fixed it, just went with another theme. Developer never got back to me.

  7. flowlocke
    Member
    Posted 5 years ago #

    Hi!

    I had the same issue 5 minutes ago.
    For my blog page I excluded a category and I think this somehow didn't work properly with the multiple pages and the custom url-formatting.

    The solution in my case was to slightly adapt the post query. I added the query_string tag and now it works out fine:

    changed:
    <?php if (is_home()) { query_posts(cat=-4");} ?>

    into:
    <?php if (is_home()) { query_posts($query_string . "&cat=-4");} ?>

    Hope that my help you.
    flo

  8. alvarix
    Member
    Posted 5 years ago #

    Also check this from the codex:
    Pagination Parameters

Topic Closed

This topic has been closed to new replies.

About this Topic