Add Time & Date – Missing Quarter Hour in Dropdown

Home Forums Calendar Products Events Calendar PRO Add Time & Date – Missing Quarter Hour in Dropdown

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1234086
    John
    Participant

    Hello,

    When adding an event in the time and date section, the selection for the quarter hour has disappeared. Is there a way to reactivate or fix this?

    Thank you.

    #1234877
    George
    Participant

    Hey John,

    Thanks for reaching out!

    At this time, it’s unfortunately only possible to reinstate the 15-minute increments by adding the following code snippet to your theme’s functions.php file:


    add_filter( 'tribe_events_meta_box_timepicker_step', 'tribe_example_fifteen_minute_timepicker' );

    function tribe_example_fifteen_minute_timepicker() {
    return 15;
    }

    Let us know if that helps!
    George

    #1236426
    John
    Participant

    That seems to have fixed it. Thank you very much!

    #1237691
    George
    Participant

    Nice! 😀

    Best of luck with your site. Be sure to back up that code and/or bookmark this thread so that if you lose that custom snippet in a theme update or something down the line, you can always reinstate the customization without much hassle.

    Cheers,
    George

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Add Time & Date – Missing Quarter Hour in Dropdown’ is closed to new replies.