I am trying to order a series of pages based on a custom field value for the date.
The pages are ordering as:
July 24, 2016
January 4, 2016
April 14, 2019
I need the order to be:
January 4, 2016
July 24, 2016
April 14, 2019
This is the code in a WP Query:
'meta_key' => 'my_publish_date',
'meta_type' => 'DATE',
'orderby' => 'meta_value',
'order' => 'ASC',
I have the Display Format and Return Format to return the value of F j, Y (Month Day, Year)
I’ve tried numerous alterations to the query to affect the order, but the issue remains
Any suggestions?