Posted: November 16, 2020 at 1:07 pm
I have a static list of events that I add datetimes and tickets to for every month. I’ve been doing this since 2018, and now I notice that my event pages still list the datetimes that have passed. Also, they are cluttering up the backend of my event page. What’s the best way to clean this up? It’s not good for my user experience to see datetimes that are passed, even if they are just last week. Thanks, |
|
This reply has been marked as private. | |
Hi there, You can’t delete tickets/datetimes from an event if they have registrations assigned to them, so to remove them you’d need to delete the registrations attached to them. However, you can’t remove registrations with payments attached to them, so first you need to manually remove any payments assigned to the transaction, then remove the registration. So, in short, right now the easiest method to clear those is to essentially archive the current event and start with a new one. You can use the duplicate event feature to duplicate the current event, then edit the slug of the original event to contain the date range it went from. So as an example THen edit the slug of the new duplicate event to match what the original was (so that all links that point to that ‘old’ event now point to the new one. Edit any of the event details needed and save. Will that work for you? |
|
Yes, that works. The only thing I needed to add to that is to uncheck the categories that the event was part of, otherwise it showed up on pages where I displayed events by category. Thanks! I’ll be so glad to get this old stuff cleaned up. 🙂 |
|
Great! Good call on the categories. Any further issues just let us know. |
|
Hey Tony, Thanks for your help, |
|
Hi Fran, For the archived event set the post status to Privately Published, it will then only be available for users logged in as Editor or Administrator. You do that in the event editor, in this section: https://monosnap.com/file/o2bS7rOGzYcbvovA1J6OdcoP4rUU3H Where it has ‘Visibility’, change that to ‘Private’ and update. — Cancelled events are expected to show on the calendar currently so that users can view the event and see it has been cancelled rather than it simply disappearing. Did you add any info to the event description to state it had been cancelled? |
|
This reply has been marked as private. | |
You’re most welcome. I realised that we also have a filter within the calendar that can be used to automatically remove Cancelled events from the calendar if preferred, you can find that here: You can add that to a custom functions plugin and we have some documentation on creating one here: https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/ Right now that code is set to remove sold out events, but just you can just remove/comment out Line 6 and then remove the |
|
Got it. Thank you. |
|
The support post ‘Delete Datetimes and Tickets’ 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.