Hello. I have an event that takes place every night at 7pm. I usually make a new events manually each month. But I would like to make more options available for pre-sale tickets. So my question is, is there a way I can make all 365 days of events at once for the same time, venue and ticket with the ability to go back and edit the events to finalize them later. With recurring events all the events are handled under one event and they share a featured image. I’d like the ability to go back in and “Finish” each event to give it a proper unique name and featured image at a later date. But for now I just need an easy way to make 365 events, 1 event for each consecutive day on the calendar.
Event Espresso doesn’t have a method to mass duplicate events like this. However, if you are comfortable with PHP or are working with a developer, it does have a single duplicate event button/function which you/they could copy into a custom function. With some small modifications you would have a function that could loop over as many times as you want it to duplicating an event. You would then need to edit each event and set the title, slug, dates and other options.
If that sounds like it may save you some time take a look in: \event-espresso-core-reg\caffeinated\admin\extend\events\Extend_Events_Admin_Page.core.php
The _duplicate_event() method is what you would need and you could alter it to accept the EVT_ID of the original event as a parameter instead of looking at the request for it. Then loop over calling that function X times until complete.
Note that duplicate the event with all of the related data will take a little so you may not be able to loop over 364 events in one go here.
—
The above method is what is called when you click on the duplicate event button in the event editor.
Viewing 1 reply thread
The support post ‘Create a years worth of events all at once?’ 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.