diff --git a/page-schedule.php b/page-schedule.php index 702f3e6..fe7dce4 100644 --- a/page-schedule.php +++ b/page-schedule.php @@ -4,7 +4,8 @@ get_header(); wp_nav_menu( array( 'theme_location' => 'footer-schedule', 'container_class' => 'content subnav cf' ) ); require("schedule-config.php"); -$content = require __DIR__ . DIRECTORY_SEPARATOR . 'schedule' . DIRECTORY_SEPARATOR . 'parse.php'; +// REENABLE! +if (!(($year=='2016') && (preg_match('/^workshop/', $pagename)))) $content = require __DIR__ . DIRECTORY_SEPARATOR . 'schedule' . DIRECTORY_SEPARATOR . 'parse.php'; //var_dump($data); ?>
diff --git a/schedule/parse.php b/schedule/parse.php index 6ab9345..913e051 100644 --- a/schedule/parse.php +++ b/schedule/parse.php @@ -59,7 +59,7 @@ foreach ($data['slots'] as $slot_id => $slot) { $eid = &$slot['event_id']; $event = &$data['events'][$eid]; - if (is_null($eid)) { + if (is_null($eid) || $event['event_type_id']==6) { $lines[] = 'TBA'; } else {