$event_date = TMM_Event::get_event_date($ev_mktime); $ev_end_mktime = (int) get_post_meta($post->ID, 'ev_end_mktime', true); $event_end_date = TMM_Event::get_event_date($ev_end_mktime); $repeats_every = get_post_meta($post->ID, 'event_repeating', true); $events_show_duration = TMM::get_option('events_show_duration'); if ($events_show_duration) { $event_duration_sec = TMM_Event::get_event_duration($ev_mktime, $ev_end_mktime); $duration_hh = $event_duration_sec[0]; $duration_mm = $event_duration_sec[1]; } if ($event_allday == 1) { $event_start_time = ''; $event_end_time = ''; } else { $event_start_time = TMM_Event::get_event_time($ev_mktime); $event_end_time = TMM_Event::get_event_time($ev_end_mktime); } $e_category = get_the_term_list($post->ID, 'events-categories', '', ', ', ''); ?> <div class="event-details"> <div class="event-start"> <strong><?php _e('Start', TMM_EVENTS_PLUGIN_TEXTDOMAIN); ?> </strong> <span><?php echo $event_date . ' ' . $event_start_time; ?> </span> </div>