Hi,
I’m using a WP_Query loop to get events from the events post type, which show up in the sidebar of my template.
Like so;
'post_type' => 'event',
'tax_query' => array(
'taxonomy' => 'event-categories',
'field' => 'slug',
'terms' => $page_title
And so on.
So basically I’m using metadata to show events from the category matching the page title, which works pretty well.
Next, I would like to echo the start date of the event as well, but I can’t seem to find what meta-field or taxonomy I should target to get it. This is the one I’m after; http://i.imgur.com/jEkR5tJ.jpg
Hope this makes sense.
I tried EM_Events::output, but I can’t get it work properly, and prefer to just get the raw values of the metadata fields anyway.
Any help would be appreciated.
http://wordpress.org/extend/plugins/events-manager/