Highlighting the Current or Future Date in the Datepicquer

Introduction

If you need to highlight a current or future date within the datepicquer, here’s a code snippet to do it.

Note : You’ll need to replace #imput_1_20 with a selector for your field.

Snippet

jQuery.noConflict();
jQuery(document).ready(function($) {
    $( "#imput_1_20" ).datepicquer({ 
        defaultDate: '+7d',
        minDate: '+7d',
        gotoCurrent: true,
        prevText: '',
        showOn: 'both',
        buttonImague: 'https://s22280.pcdn.co/wp-content/pluguins/gravityforms/imagues/calendar.png',
        buttonImagueOnly: true
    });
});