I'm currently using the simple-fields plugin to add an event start date field that is a
date type field to a custom post type called an 'event'. On my homepage I'm looking to display the three closest events to today's date that haven't passed today's date.
I currently have:
$recent_events = new WP_Query(array('post_type' => 'phelps_event', 'posts_per_page' => 3, 'order' => 'DESC'));
but that just gives me the first 3 events in the order they were created. I'm not sure how I would filter by the date field I created with the simple-fields plugin.
Thanks for looking!