I have searched and searched the forums and haven’t found an answer to this. This is a new installation of EE4, running the latest version of wordpress. Is it possible at all to create an event that is all day without indicating start and end times? The client is a travel agency that advertises tours well in advance, and they often don’t have a departure time set when they make the tour available. target=”_blank”>Here’s the event in questiion.
It is possible to display events events without displaying the start and end times. The following steps require a bit of PHP modification, but the modifications can be placed in a little plugin kept separate from the main Event Espresso plugin so they will not be overwritten on an update:
1) Copy the following function into your child theme’s functions.php file or into your own custom functionality plugin:
2) You’ll note that this is a pluggable function that’s overriding the function that’s normally declared in /plugins/event-espresso/core/helpers/EEH_Event_View.helper.php. There is a single edit that’s been made, the code that displays the event’s time has been commented out like so:
If you need to make the dates display for some events let us know and we can show you how to add a “Show dates” option in the editor that can be toggled on and off.
Beautiful… worked just like I wanted it to. Dates are still listed without times. Have a wonderful day!
Viewing 2 reply threads
The support post ‘All day event – remove start or end times’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for Event Espresso 3 and Event Espresso 4.