diff --git a/page-schedule.php b/page-schedule.php index cf14eea..702f3e6 100644 --- a/page-schedule.php +++ b/page-schedule.php @@ -4,7 +4,6 @@ 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'; //var_dump($data); ?> @@ -13,7 +12,7 @@ $content = require __DIR__ . DIRECTORY_SEPARATOR . 'schedule' . DIRECTORY_SEPARA

+if (!empty($content) && !empty($content['slots'])) { ?>