Hi guys.
I’m making a simple slideshow from the Events plugin. I’m using a custom query. I’ve started off with this:
$args = array(
‘post_type’ => ‘tribe_events’,
‘tribe_events_cat’ => ‘featured’
) ;
This works fine. But I’d like to filter further. I’d like to get publish only upcoming events.
I imagine that the dates a stored in post meta, so I would identify the ‘event date’ post meta, and then use the orderby’ with ‘meta_value’.
I’ll be working on this in earnest tomorrow. But I thought I’d post this now, just in case anyone has a snippet at hand, or can point me to one.
Thanks.