Importing a weekly event series into the free The Events Calendar with a CSV file
You run the same class every Tuesday on the free The Events Calendar, and you're tired of typing in each date by hand. Recurring events come with Events Calendar Pro, but here's the workaround: give each date its own row and import them all at once with the free plugin's built-in CSV importer. Here's how to set up the sheet so venues, organizers and times come through, and how to re-import without doubling everything.
What the free plugin gives you
The Events Calendar's WordPress.org page lists recurring events and event Series among the extras that Events Calendar Pro adds. The Events Calendar recurring events guide calls recurring events one of the most popular features of Events Calendar Pro. If you're staying on the free plugin, plan on one event per date.
What the free plugin does have is a built-in CSV import tool. Its import guide says the tool is free and included when you install The Events Calendar. That's the route this post covers: treat each date of your series as its own event, one row each.
Import venues and organizers first
This one is easy to miss. The import guide tells you to import venues and organizers first. The venue column must exactly match the Venue Name of an existing venue. The organizer column must exactly match the Organizer Name.
If the venue already exists in WordPress, open it and copy its name into the sheet character for character. Watch for trailing spaces and different dashes. Exact means exact.
Build the sheet: one row per date
Give each date its own row. In a weekly series, keep the rows identical except for the dates. Fill in one row completely, copy it down, then change the start and end date on each copy.
| Column | What to put for a weekly series | What the import guide says |
|---|---|---|
| Title | The same title on every row | Used to match existing events when you re-import |
| Start and end date | The date of that week's session | YYYY-MM-DD recommended |
| Start and end time | The same times on every row | Ignored when the event is all-day |
| All-day | Only if the session runs all day | When true, Start/End Time fields are ignored |
| Timezone | The same zone string on every row | Must be a valid timezone string |
| Venue | Copied exactly from the venue | Must exactly match the Venue Name of an existing venue |
| Organizers | Organizer name, copied exactly | Separate multiple values with commas |
| Categories | The categories for the series | Separate multiple categories with commas |
| Featured image | The URL of the image file | Must be a direct URL to the image file |
The import guide also says example files for each content type are available. Start from the events example, and get the date format right in the first row before you copy it down.
Run the import
- In the WordPress dashboard, open Events → Import.
- Select CSV File as the import origin, then pick Events. By default there are three content types: Events, Organizers and Venues.
- Upload your file and click Preview. The file is saved to the WordPress Media Library, so you can reuse it next time.
- Map each CSV column to the matching field in The Events Calendar. Leave any column you don't need set to Do Not Import.
- For the publish status, pick the option that saves the events without publishing them, so they stay editable after import. That makes it a safe choice for a first run.
- If you like, bulk-assign existing event categories from your site, then click Import All.
Then open the calendar and click through a few weeks. Check the time, venue and image on several dates, not only the first. If everything looks right, publish the imported events.
Re-importing without doubling your events
You'll probably spot a typo and run the file again. The import guide says CSV imports update existing events instead of duplicating them when certain conditions are met. For timed events, all three must hold: the title is identical, the start date and time are exactly the same, and the end date and time are exactly the same.
For all-day events, the title must be identical and the event must be marked as an all-day event.
The catch: if you change the title or a time in the sheet, that row no longer meets those conditions. Don't expect it to update the old event. After a title or time change, check the calendar and delete any leftovers by hand.
When the sheet is more work than the series
A CSV makes sense when your dates are already in a spreadsheet or don't follow a pattern. For a plain weekly class, rebuilding the sheet every term gets old fast.
We built RecurKit for that case. It's a free plugin from Bright Labs that works with the free The Events Calendar. It isn't made by or connected to The Events Calendar's developers. In the event editor, you tick Repeat this event, pick the weekdays and choose when the series ends. When you publish, it creates up to 52 occurrences, each a normal event with the same times, venue, organizers, categories, tags and image.
Later, under Events > Series, you can change the title, times, venue or description of one occurrence and every one after it. The Pro plan, at $9/month per site, adds monthly rules, custom date lists and skip dates. RecurKit 0.1.0 is in beta and waiting for WordPress.org review. Until it's listed, you install it from the zip file.
Sources
- The Events Calendar CSV import guide and field reference
- The Events Calendar plugin page on WordPress.org
- Events Calendar Pro guide to creating recurring events
Questions
Can the CSV importer create a recurring event series?
Recurring events and event Series are extras that Events Calendar Pro adds. With the free plugin, the workaround is to give each date of the series its own row in the CSV.
Is the CSV import tool included in the free The Events Calendar?
Yes. The import guide says the CSV import tool is free and included when you install The Events Calendar. You'll find it under Events → Import.
Will importing the same file twice create duplicate events?
Not if the rows still match. For timed events, CSV imports update an existing event when the title is identical and the start and end date and time are exactly the same.
Why is the venue missing from my imported events?
The venue column must exactly match the Venue Name of an existing venue. Import your venues and organizers first, then copy their names into the sheet exactly.