How to add custom time slots

Trying to add time slots with 6:30 hours each, when adding Additional time base value as 390 mins it works, but it gives the time slots as 12am, 6:30 am, 1pm, 7:30 pm.

Looking to set the time slots from 10:0 am to 4:30pm. Looking for a workaround to set a single slot of 6.5 hours as mentioned.

  • Panos

    Hi Michael ,

    Seems there's a small gap there that went unnoticed. Currently there is no option for this and no filter that can be used.

    You can download the file appointments.php attached and replace
    appointments/appointments.php file

    Then upload the second file attached (app-custom-working-hours.php) to the wp-content/mu-plugins folder ( if you don't have that folder you can simply create it ). Just to be clear, that file's path should be:
    wp-content/mu-plugins/app-custom-working-hours.php

    This should set the first hour to 10:00 as mentioned in your above description. If you need different hour, you can edit file
    app-custom-working-hours.php
    and change the hour in line 5.

    Then visit the Working Hours settings page and set new hours and save. Please let us know how this works for you :slight_smile:

    This should be taken care of in a future release.

    Kind regards!

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.