From: Anthony Talarico Date: Mon, 13 Aug 2018 20:18:02 +0000 (-0400) Subject: testing off canvas datepicker widget issues on develop X-Git-Tag: v1.0.49^2~7 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=c0fe830de50c8e8af303bbafae65b0c6a18c824c;p=WP-Themes%2Fstaffords.git testing off canvas datepicker widget issues on develop --- 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 ); ?>