Thank you Josh, that worked. Now that the end date appears, it looks like “July 12, 2014 – July 13, 2014” and having the year appear for the start date looks a little odd.
Is there a way to change the start date format to exclude the year without effecting the date format throughout the rest of the plugin? So the widget would display “July 12 – 14, 2014”.
The above example code will display the dates as June 18 – June 19, 2014. This might be better if any of your events happen to span two months. If you want to go further and customize the second date so the month is removed, you’ll need to tear into the line of code (95)that sets the date end variable:
The support post ‘Add end date to Upcoming Events widget’ 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.