Posted: February 8, 2017 at 8:42 am
|
We created a new event with a title using the standard single datetime and ticket when you create a new event and no other information. As you can see, the calendar acquires dates from, and I’m guessing here, all or some of the other events. To illustrate the problem please check this event and especially the calendar: https://adutchexperience.com/events/musical-walking-tour-through-the-hague/ Where are these dates coming from? This has also caused extraneous dates to appear in other events. I appreciate any help here since we actually went live today and only discovered this problem this morning. Now the calendar is showing available dates that are not in the event itself. Wordpress and all plugins up to date. Cheers |
Hi there, Has the calendar been customized at all? That event doesn’t load any details so I’m not sure what we should be looking for, the calendar has multiple dates shown but no links to confirm what those dates are for, most likely all events (which would be expected) |
|
|
No calendar customisations. The event has a single datetime and ticket (the ones that are standard when creating a new event). So there should be no other details to show other than this one datetime. This is a custom template showing the calendar for the single event using the following:
We have other events that only show the datetimes relevant to that single event. The question is, why is this event showing other datetimes in the calendar? Cheers |
|
I think I see the problem now. For starters, the ’empty’ event didn’t have an attached venue so this code would not work: echo do_shortcode(‘[ESPRESSO_CALENDAR event_venue_id=’ . $VENUE_ID . ‘]’); $VENUE_ID = 0 in this case. And if multiple events share a single venue then the calendars for each event would show dates that are shared which is not desirable. I think what I am looking for is a calendar based on the event ID something like this: echo do_shortcode(‘[ESPRESSO_CALENDAR event_id=’ . $EVENT_ID . ‘]’); I can imagine that other developers would benefit from this parameter. To get around this we will make sure that we create separate venues for each event. So that is one problem sorted. Cheers |
Yes, you’d need to be able to pass a specific event_id and then only display datetimes for that event. That’s not something we currently have available although I will creae a feature request ticket to see what we can do. |
|
The support post ‘New Event takes on datetimes from other events’ 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.