I’m setting up an event calendar in WordPress and need to list all the events of the week grouped by the current day. I have events that last only one day and others that last the entire month. I created the custom post type “Events” and the custom fields “initial_date” and “end_date”. How would I get the query that returns the custom post types “events” for a day but also the ones that are in progress?

Read more here: WP_Query complex


If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Wordpress related questions and answers: