Using multiple categories in EventCalendar3 for WordPress (update 1)
wp-includes/classes.php line 679-702, for the Events listed outside of the Event category if (mysql2date(‘U’, $this->posts[0]->post_date_gmt) > mysql2date(‘U’, $now)) { //it’s future dated $this->is_preview = true; /* DIRTY FUTURE-POSTS HACK FOR EC3 */ if (function_exists(‘ec3_get_calendar’)) { global $ec3; $ec3_post_0_is_event = intval($wpdb->get_var( “SELECT COUNT(0) FROM $wpdb->post2cat WHERE post_id=” .$this->posts[0]->ID.” AND category_id IN (‘$ec3->event_category’,’14’)”)); if ($ec3_post_0_is_event) { $this->is_preview… Read More »