在我的网站上,我加载datepicker。最小js
<script type=\'text/javascript\' src=\'http://xxx/wp-includes/js/jquery/ui/core.min.js?ver=1.11.4\'></script>
<script type=\'text/javascript\' src=\'http://xxx/wp-includes/js/jquery/ui/datepicker.min.js?ver=1.11.4\'></script>
<script type=\'text/javascript\'>
jQuery(document).ready(function(jQuery){jQuery.datepicker.setDefaults({"closeText":"Fermer","currentText":"Aujourd\\u2019hui","monthNames":["janvier","f\\u00e9vrier","mars","avril","mai","juin","juillet","ao\\u00fbt","septembre","octobre","novembre","d\\u00e9cembre"],"monthNamesShort":["Jan","F\\u00e9v","Mar","Avr","Mai","Juin","Juil","Ao\\u00fbt","Sep","Oct","Nov","D\\u00e9c"],"nextText":"Suivant","prevText":"Pr\\u00e9c\\u00e9dent","dayNames":["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],"dayNamesShort":["dim","lun","mar","mer","jeu","ven","sam"],"dayNamesMin":["D","L","M","M","J","V","S"],"dateFormat":"MM d, yy","firstDay":1,"isRTL":false});});
</script>
所以我想在我的输入中添加一个日期选择器
<input type="text" class="mkdf-filter-min-date" name="min_date" placeholder="Check-in:" value="<?php echo esc_attr( $today ) ?>"/>
但我不知道该怎么办。