1
I am developing an event category in my template using the default post, in this post I added two fields (Metabox) for the event start date and end date. Already in Wp_query I need to display the events that have the initial date less than the current date, and the shorter end date.
Using Wp_query or get_post_meta, or any other function... How can I do this?
How are you saving the date? In what format?
– Claudio Sanches
Date format: d/m/Y
– Rafael Alexandre
Honestly this is the worst way to save, if save as Ymd is quiet to make the queries.
– Claudio Sanches
Yes, but my problem is how to do the consultation, because I don’t know.
– Rafael Alexandre