I want the newest post first.
That is the normal default order. But, there is a bug in a version of MySQL (5.0.51, I think) that is messing up the ordering of posts.
To check, create a new post and change the date to some day before your most recent post. If things are working correctly, this back-dated post should not appear first.
Then, temporarily switch to a default theme, if the order is still screwed up (back-dated post is first), then it is probably the MySQL bug. If the order is okay, then your theme’s file has been messed up. Replace your theme’s index.php file with a fresh copy.
Thread Starter
smc9
(@smc9)
thanks alot, i tried all that.
in the end i put thie piece of code;
<?php the_date(”,'<h2>’,'</h2>’); ?>
from the default profile’s index.php into the new templates index.php just under the first few lines where it mentions posts and it works A. Ok
Thanks for your help
Hi, I want the newest as well, but it works only if the newest is a post, doesn’t work if the newest thing is a comment in an old post…
I would like to have shown the post (old) with newest comment: is possible to do this?
Thanks