The events that span multiple days are shown all the days that the event is planned for, however I am looking for a way to only show the events on the first day.
However, it appears that there are lots of automatically defined tops and heights defined via JavaScript to determine how to display this calendar. Which means most likely if I continue down this route I would also need to use jQuery to determine and override those tops and heights.
Before I continue down this path, I was wondering if there were any other suggestions on how I might accomplish this in an easier fashion.
Add that snippet of code to the site and it will set the end date to be equal to the start date if the duration is 7 days or more. You can change how many days it needs to be before this triggers on Line 10.
You can add that to a custom functions plugin on your site, we have some documentation on creating one here:
The support post ‘Event espresso calendar show events only on their first day’ 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.