Recurring events are events that occur on a repeating schedule. This is a common name for various occasions such as conferences, individual or group training, classes that repeat, etc. With Wellness Unity, you can designate a timeframe for the repetition of single or multiple-day repeating events.
Think of recurring events as a lecture. For example, you have an event called “Evolution 101” which is a recurring event that recurs every week, on Mondays, from 10:00 – 14:00. Every week, the “Staff” (employee) provides the same lecture, which means (s)he will repeat the same lecture (lesson) all the time. With this in mind, there’d be no reason why a single customer would want to book the same lecture for X number of weeks (because it is the same lecture every week).
Because of this, every recurring event is considered a separate event, and when a customer books one event, they are not automatically added to all recurring events.
Creating a Recurring Event
Similar to creating regular Events, you need to access the “Events” page, click on the “+ New Event” button in the top right corner or the “+” on the bottom right corner of the page, and the “New Event” dialog will appear.
The details of creating events are described in the Events section, so we will jump straight to configuring a recurring event.
When an event is being created, set the date or the date range when it’s going to be held; choose the time, and below that, enable the “This is a recurring event” check box.
In there, choose:
- In what manner the event will repeat (Daily, Weekly, Monthly, or Yearly);
- How it is going to repeat (every week, every 2 weeks, every 3 weeks, etc (this, of course, applies to days, months, or years as well));
- Until when it’s going to repeat.
![configure-recurring-event configure-recurring-event](https://wpamelia.com/wp-content/uploads/2022/07/Screenshot-from-2022-07-29-14-09-40.png)
When an event is set to be recurring, options to apply a certain logic when the booking opens and when the booking closes will be shown below.
![apply-to-recurring apply-to-recurring](https://wpamelia.com/wp-content/uploads/2022/07/Screenshot-from-2022-07-29-14-18-23.png)
Enabling the “Apply this to all recurring events” option will apply the options from when the booking opens and when the booking closes to all recurring events.
Example: If the booking for the first event opens on July 31st at midnight, the booking for all recurring events will also open on July 31st at midnight.
If the “Apply this to all recurring events” option is disabled, the plugin will calculate the time for opening and closing the booking based on the selected time for the first event.
Example: If the booking for the first event opens on July 31st at midnight, this would mean that it would open 34 hours before the event starts (remember, the 1st event in our example starts on August 1st, at 10:00 AM). So, when you disable the “Apply this to all recurring events” option, Wellness Unity will apply the same logic to recurring events, so an event that’s set to repeat on August 8 will be open for booking on August 7th, at midnight.
The remaining options are the same as creating a regular event, so this will be skipped, and we’ll move on to displaying and using Recurring Events on the front-end.
As mentioned in the beginning – each recurring event will be considered a separate event, so when you check your Events page, you will see a list of similarly named events but each one with a different ID:
![list-of-recurring-events list-of-recurring-events](https://wpamelia.com/wp-content/uploads/2022/07/Screenshot-from-2022-07-29-14-31-43.png)
We configured this event so the 1st event in the list opens on July 31st, at midnight, and that this will not apply to upcoming events, so you’ll notice that each event is in the “Upcoming” status. If we had configured the 1st event to open immediately (as soon as we create it), the status would be “Open”.
If we modify the 1st event like this:
![open-immediately open-immediately](https://wpamelia.com/wp-content/uploads/2022/07/Screenshot-from-2022-07-29-15-01-44.png)
You’ll see that the booking opened immediately for the 1st event, but since we disabled the “Apply this to all recurring events” option, the upcoming events are still “Upcoming”:
![nofollow-back nofollow-back](https://wpamelia.com/wp-content/uploads/2022/07/Screenshot-from-2022-07-29-15-05-22.png)
Let’s access the back-end again, and show you what happens when we make some changes. If you want to change the price of one event, when you click on “Save” in the bottom right corner, you’ll see a small box pop up asking you if you want to update the following events:
![update-following update-following](https://wpamelia.com/wp-content/uploads/2022/07/Screenshot-from-2022-07-29-14-59-12.png)
If you click on “No, just this one”, the price will change only for the event you’re editing.
If you click on “Update following“, the price will change for all events that will be held after this one.