This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% comment %} | |
Created by: Simon Neufville | |
Generic HTML section that can be placed anywhere in the customizer. | |
{% endcomment %} | |
<div class="shopify-section" data-section-id="{{ section.id }}"> | |
{% if section.settings.heading %} | |
<h4 class="section-title">{{ section.settings.heading }}</h2> | |
{% endif %} | |
<div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @snippet WooCommerce Checkout date picker | |
* @author NCY Design https://wordpress.ncy.design | |
* @compatible WooCommerce 3.7.0 | |
*/ | |
// Register main datepicker jQuery plugin script | |
add_action( 'wp_enqueue_scripts', 'enabling_date_picker' ); | |
function enabling_date_picker() { | |
// Only on front-end and checkout page |