From c0fe830de50c8e8af303bbafae65b0c6a18c824c Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Mon, 13 Aug 2018 16:18:02 -0400 Subject: [PATCH] testing off canvas datepicker widget issues on develop --- functions.php | 5 +++-- parts/reservation-form-off-canvas.php | 20 ++++++++++++++++---- 2 files changed, 19 insertions(+), 6 deletions(-) diff --git a/functions.php b/functions.php index 2016f2d..130fd88 100644 --- a/functions.php +++ b/functions.php @@ -80,6 +80,8 @@ function glm_site_scripts() get_template_directory_uri() . '/js/modernizr/modernizr.min.js' ); wp_enqueue_script('jquery'); + wp_enqueue_script('jquery-ui-datepicker'); + wp_enqueue_style('jquery-style', '//ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/themes/smoothness/jquery-ui.css'); wp_enqueue_script( 'glm_foundation', get_template_directory_uri() . '/js/app.js', @@ -87,8 +89,7 @@ function glm_site_scripts() '1.0.2', true ); - wp_enqueue_script('jquery-ui-datepicker'); - wp_enqueue_style('jquery-style', '//ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/themes/smoothness/jquery-ui.css'); + if(is_front_page()) { } diff --git a/parts/reservation-form-off-canvas.php b/parts/reservation-form-off-canvas.php index ed94c3e..4941735 100644 --- a/parts/reservation-form-off-canvas.php +++ b/parts/reservation-form-off-canvas.php @@ -1,11 +1,23 @@ + "Stafford's Bay View Inn", + 188 => "Stafford's Crooked River Lodge", + 189 => "Stafford's Perry Hotel" +); ?> +ID, $oc_properties ); ?>
-- 2.17.1