WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Posts in Reverse Order (3 posts)

  1. sonnyg80
    Member
    Posted 5 years ago #

    I recently had a custom theme created but one problem that persists is that the posts show up in reverse chronological order. Every other theme that I've tried on the same servers (1and1.com) work perfectly fine except for this new one. I've seen the other threads on this being a MySQL issue but other themes work fine so I don't see how it could be that.

    I've also tried the theme on a MediaTemple hosted blog and the post order is correct with newest first.

    Could it be my 1and1.com's WP installation (2.6.3)? Thoughts please?

  2. sonnyg80
    Member
    Posted 5 years ago #

    Nevermind - I figured it out.

    Added:

    query_posts($query_string."&order=DESC");

    before:

    (have_posts())

    and worked perfectly.

  3. dblast
    Member
    Posted 5 years ago #

    I tried that Using ASC to reverse order and it forced posts as my front page instead of the static page I set and also overrode any menu widgets too. I removed it.

Topic Closed

This topic has been closed to new replies.

About this Topic