• Resolved ddrj

    (@ddrj)


    The time picker list in the add new event form starts with a time of 12.00 am. I would like to change this to 7.00 pm – how and where do I change this ?

Viewing 2 replies - 1 through 2 (of 2 total)
  • You are referring to the “When” meta box. ??
    To change it (and be update-proof) do this:

    Copy:
    wp-content/events-manager/templates/forms/event/when.php

    To:
    wp-content/themes/your-theme-folder/plugins/events-manager/forms/event/when.php

    Then, edit the copied file (in your theme folder):
    Line 17: change
    value="<?php echo $EM_Event->start()->format($hours_format); ?>"

    to
    value="07:00 PM"

    Do the same on line 19 for the end time.

    For recurring events, you will need to do similar steps with the files recurring-when.php and when-with-recurring.php.

    To change the time steps (not update-proof)
    Change events-manager.js line 791:
    Steps:30

    for steps of 30 minutes instead of 15.

    Thread Starter ddrj

    (@ddrj)

    Patrick, as always thank you !

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Events Manager – Time Picker – start time’ is closed to new replies.