I'm trying to display upcoming events only (so no past events) using the WP_Query() function. I see there is a "wp_ai1ec_events" table in the database and a column named "start" with the start times in yyyy-mm-dd hh:mm:ss format. I can get the current time in the same format using $currentTime = current_time('mysql')
This is what my query looks like so far:
$frontpageevents='post_type=ai1ec_event&showposts=3&orderby=start&order=ASC&meta_value=yes'; $eventquery = new WP_Query($frontpageevents);
I've tried adding '&start>'.$currentTime to the end of the $frontpageevents declaration, but that didn't work. I was hoping if someone knew how to handle this.