• Resolved randaclay

    (@randaclay)


    I have encountered a very strange issue with a client site and would appreciate some help. The site is https://www.carinsuranceguidebook.com/
    The posts in the admin panel and on the home page are not displaying in reverse chronological order. None of them are set as “sticky”, and I’ve gone through all the plugins he’s got installed and don’t believe any would have an impact on this issue. In the admin panel, in the post listing, the post at the top of the list has a publish date of 10/31/08, the next 11/1/08, etc. In the middle of the first page you can see posts with a publish date in 2009 then back to ones in 2008, and he’s published one in 2010.

    Why would they not show up in reverse chron. in the admin panel? Posts on the home page of the site are showing up in the same order. Here is the query on the home page:
    <?php $page = (get_query_var(‘paged’)) ? get_query_var(‘paged’) : 1; query_posts(“orderby=date&order=DESC&showposts=5&paged=$page”); while ( have_posts() ) : the_post() ?>

    I was just using the regular loop, but decided to try the above instead to see if it would make a difference- no luck.

    Any ideas?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Deactivate all plugins and switch to the WordPress Default theme to see if that resolves the problem.

    Thread Starter randaclay

    (@randaclay)

    Thank you. This is the obvious way to troubleshoot and I often forget to be thorough with deactivating plugins to find the cause of problems. Thanks for the reminder. It was indeed a ratings plugin that was resorting the posts.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Problem with post order- not sorting by date’ is closed to new replies.