Archived topic
How to Sort Posts By Date Created
3 replies · Started by RJ on February 11, 2022
I've just noticed that my blog archive is not listing the posts by the date they were created. They appear all over the place, see https://www.eatweeds.co.uk/blog
How do I change this so they are listed with the most recently created post showing first?
TIA, Robin
Hi there,
By WordPress default, the blog archive displays the posts by the published date.
There isn't an option in GeneratePress to change this.
Looks like you are using a content template for the blog page. Can you make sure that the date showing is the published date and not the updated date?
https://docs.generatepress.com/article/dynamic-data/#post-date
Thanks, Leo. That was the problem. I had 'Replace with updated date' turned on.
Cheers.
No problem :)