I’m trying to include a list of related events (by category) to the single event listing page. I’m grabbing events with:
EM_Events::output(array(‘limit’ => 3, orderby => ‘event_start_date’, category => $category)
where $category is set via the clunky:
$event = em_get_event(get_the_ID(), ‘post_id’); $category = $event->output(“#_CATEGORYNAME”);
First, how can I exclude the event I’m looking at? I can’t find a way to exclude the event via id from the EM_Events::output call.
Second, is there a better way to get the event’s category list in text than that em_get_event call?
Thanks,
Nick