Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author benitolopez

    (@benitolopez)

    Hello,

    The easiest way is override the datepicker template (wp-hotelier/templates/global/datepicker.php) copying it to yourtheme/hotelier/global/datepicker.php.

    Then change the method to “get” and the action URL to the URL you need here:
    https://github.com/wp-hotelier/wp-hotelier/blob/master/templates/global/datepicker.php#L21

    It is something you need to integrate yourself, there’s not a ready to use solution.

    Best Regards,
    Benito

    Thread Starter nurzki

    (@nurzki)

    Hello,

    Thanks for the tip it works.

    Also edited a core file in wp-hotelier/includes/class-htl-form-functions.php at line 325 /*Process the datepicker form*/ changing $_POST to $_GET.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Datepicker Override’ is closed to new replies.