I’m trying to display a list of upcoming events, ordered by event date. I’m using a custom field on each post called ‘expiration’, with values similar to ’02/07′ and ’03/13′. What I have now gets me the posts I want, but orders them by the last digits, like this:
here’s the code I have at the moment:
It seems the orderby=meta_value_num doesn’t know that the values are dates. How can I fix this without making the custom field entry complex for the poster?
- The topic ‘Configuring custom field info to display by date’ is closed to new replies.