Remove end time for events- for multiple dates

Home Forums Calendar Products Events Calendar PRO Remove end time for events- for multiple dates

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1029818
    Charu
    Participant

    I found this url: https://theeventscalendar.com/knowledgebase/remove-end-time-for-events/

    but cant find anything to remove end date for multiple dates event…any suggestion?

    #1029912
    Brook
    Participant

    Howdy Charu,

    I would love to help you with this.

    The second function listed in that article is actually meant to hide the endtime on multiday events. Did you try following that tutorial yet? Is it not working for you? If so, can you please specify which view is still showing the end time, and perhaps share a link to the page or event so I can inspect how you have setup the event.

    Cheers!

    – Brook

    #1030358
    Charu
    Participant

    This reply is private.

    #1032930
    Brook
    Participant

    Thank you for sharing a link, that clarified things. I was able to make a modification to the snippet to help with this:

    https://gist.github.com/elimn/99ca50f97fad30f632d9

    Note the last line is commented out with //, remove the // to enable it. However, these is still one section where the end time will continue to show on the single-event page: the event details section. If you wish to also remove the endtime here you will need to create a theme override by following our Themer’s Guide. Create an override for /wp-content/plugins/the-events-calendar/src/views/modules/meta/details.php. Then on line 72 change $end_datetime to $end_date.

    Does that make sense and do what you want?

    Cheers!

    – Brook

    #1075851
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Remove end time for events- for multiple dates’ is closed to new replies.