From: Anthony Talarico Date: Mon, 9 Nov 2015 16:01:36 +0000 (-0500) Subject: setting datepicker for reservation fields X-Git-Tag: v1.0.0^2~344 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=4b964b9dc915f181da68e189ef000788ce2748b2;p=WP-Themes%2Fstaffords.git setting datepicker for reservation fields --- diff --git a/functions.php b/functions.php index 93d337f..448c423 100644 --- a/functions.php +++ b/functions.php @@ -677,6 +677,9 @@ function glm_site_scripts() '1.0', 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/js/app.js b/js/app.js index 5d127fd..9ba400c 100644 --- a/js/app.js +++ b/js/app.js @@ -39,5 +39,5 @@ $(document).ready(function () { }); //////////////////////////////////////////////////////// - + $("#arrive").datepicker(); }); diff --git a/js/custom/pageSetup.js b/js/custom/pageSetup.js index 52b47c2..6d3a2ee 100644 --- a/js/custom/pageSetup.js +++ b/js/custom/pageSetup.js @@ -30,5 +30,5 @@ $(document).ready(function () { }); //////////////////////////////////////////////////////// - + $("#arrive").datepicker(); }); diff --git a/parts/reservation-form.php b/parts/reservation-form.php index 7b80084..ea65c89 100644 --- a/parts/reservation-form.php +++ b/parts/reservation-form.php @@ -7,10 +7,10 @@
- +
- +