Tag Info

New answers tagged


There is no mechanism in Wordpress to sort by date in a custom field if the stored date is not a unix timestamp or in the date format of Y-m-d. If your date is not stored in this two formats, the only other way might be to use the DateTime class in php to convert the date into one of the mentioned formats and then use usort() to sort the posts, but this ...

Top 50 recent answers are included