Event start date not showing up for all-day and multi-day events

Home Forums Calendar Products Events Calendar PRO Event start date not showing up for all-day and multi-day events

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #931600
    Sherrill Figuera
    Participant

    I can’t seem to get the start date to display in the Events List widget for all-day events or events that span multiple days. Works fine for single-day events with specific times. I have a filter from this forum added in to the functions.php file that removes the end-times:

    /**
    * Removes end times from Events Calendar Pro.
    */
    add_filter(‘tribe_events_event_schedule_details’, ‘remove_end_times’);

    function remove_end_times($datetime) {
    $pos = strrpos($datetime, ‘- <span class=”end-time’);
    return substr($datetime, 0, $pos);
    }

    Any help on this would be greatly appreciated!! Thank you!

    #931754
    Brian
    Member

    Hi,

    Thanks for using Pro. I can try to help you out here, but I am limited in the support I can provide on customizations.

    Are you selecting the option in the Events Editor to make the events All Day?

    If so our functions take that into account and do not show times for the Event in the widget, single event, or in any of our views.

    If you would like to remove the end times and have a start time I think you would have to not select the event as all day and give it a start time and end time that would be removed by the filter.

    If that is not the case of what is happening can you please provide more information.

    Thanks

    #935441
    Sherrill Figuera
    Participant

    I see what you are saying with All-Day events —the fields for start time and end time disappear if that box is checked. However, if I set an event to span more than one day I can enter a start time and an end time in the fields. I do not understand why the start-time of one of these events will not show up in the Events List Widget. I cannot get the “Test Event for Children” to display the start-time in the following link:
    http://184.154.225.4/~wattsstr/connect/children/

    Thanks for the help!!

    #935637
    Brian
    Member

    I did some testing on the List Widget and by default it does show the end date.

    So there is either a conflict or a customization that could be causing the issue.

    Do you have any custom templates in your theme for the events calendar?

    Also, can you run through our testing for conflicts guide and see if that narrows down the issue:

    Testing Conflicts With Themes and Other Plugins

    Let me know what you find out.

    Thanks

    #943597
    Brian
    Member

    I am going to close this topic as we typically close threads if there is no activity after two weeks. Feel free to create a new thread and reference this one to save you time.

    Thanks

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Event start date not showing up for all-day and multi-day events’ is closed to new replies.