I just manually upgraded a site from 2.3.3 to 2.7.1, no small feat, since the site is hosted by godaddy, which is a lame host… that said, a category page is now displaying posts in oldest to newest order.
I know there are many posts asking about this but none of the suggested solutions seem to work. I have a site using v2.7.1 with all working as intended. On of the site’s pages (cat=’94’) displays posts from category-94 using a custom template (category-94.php)
But it is displaying the posts in reverse order, with the oldest at the top — not sure why. If I look at the output, it’s sorting by ID oldest to newest. I would expect it to sort in reverse chron order by default. There is NOTHING in the template to tell it to behave in a non-default manner.
I have tried all manner of using :
<?php query_posts($query_string . "&order=DESC") ?>
<?php query_posts($query_string . "&order=ASC") ?>
before the loop and there is nothing other than a wp_list_pages() function call in my sidebar before that code…
IT DOESN’T WORK. The order is unchanged no matter which is used.
Anyone else seeing this? Anyone have any solutions? I’ve even tried placing the custom query before all page markup (except for the header call)… nada.
- The topic ‘posts displaying in reverse order after upgrade?’ is closed to new replies.