Viewing 3 replies - 31 through 33 (of 33 total)
  • Oliver

    (@elvinwebmarketing)

    I have tried several of these code examples here, none seem to be working for me on the latest version of WordPress and the latest plugin. Am I right that this for example could be inserted with

    <script>
    jQuery(function($){

    $(“#woensdag”).datepicker({
    beforeShowDay: function(date){
    var day = date.getDay();
    return [day != 0 && day != 1 && day != 2 && day != 4 && day != 5 && day != 6];
    }});
    });
    </script>

    Thanks

    Oliver

    (@elvinwebmarketing)

    I have tried several of these code examples here, none seem to be working for me on the latest version of WordPress and the latest plugin. Am I right that this for example could be inserted in the html with:

    <script>
    jQuery(function($){

    $(“#woensdag”).datepicker({
    beforeShowDay: function(date){
    var day = date.getDay();
    return [day != 0 && day != 1 && day != 2 && day != 4 && day != 5 && day != 6];
    }});
    });
    </script>

    Thanks

Viewing 3 replies - 31 through 33 (of 33 total)
  • The topic ‘Disable sundays’ is closed to new replies.