Skip Navigation

[Resolved] Can I create recurring events?

This thread is resolved. Here is a description of the problem and solution.

Problem: I would like to use Toolset to create recurring events using custom posts and custom fields.

Solution: It may be possible with extensive custom coding to accomplish a full-featured calendar system with scheduling, events, and recurring features in Toolset, but a 3rd-party plugin that manages events and scheduling is more likely to include a majority of the features you need, already built-in. If you need to sort lists based on recurring dates, or display events in a calendar view, or filter Events by date range, Toolset probably isn't the best option for your needs.

50% of people find this useful.

This support ticket is created 6 years, 9 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

Author
Posts
#629063

I am trying to add the functionality to our existing event directory to allow users to create recurring events. The entire event post type if dependant on WP-Types.

I tried following the documentation on repeating field groups but could not figure it out. I understand by using repeating field groups that it will create a child post, but how will this work with showing the events in the directory?

Please can someone help? This is a much needed feature.

#629274

Hi, this sounds like a very specific use case for custom post types. There are quite a few ways this could be implemented based on calendar apps I've used before. For example, can users select different repetition criteria for each event, like daily, weekly, monthly, and custom repetition like "only M W F", etc? Do events have start and end dates, or only one single date? How far into the future can you schedule these repeating events? Is it possible to delete a single event in the series? There are so many questions, and I'm afraid it will require so much custom programming to get exactly right with Toolset that it's probably going to be more cost-effective to look into an events calendar system that is created specifically for managing events like this. Let me know your thoughts about this.

#629294

Hey. Thanks for your fast reply.

This would be for the user to select monthly,weekly, bi-weekly etc.

Also a nice feature would be to let them add multiple dates.

Is this not possible directly in WP-Types? We have a lot of users which have submitted a reasonable number of events already and would not like to switch - if we add a calendar app, will this integrate with WP-Types and the already existing posts?

Thanks,
John

#629339

Adding multiple dates to a single post can be accomplished now with a repeating "date" type custom field. So you could store multiple dates for a single Event in the current system. Depending on how you want to use that information, this approach may or may not work for your site. For example, let's say you want to show a list of all Events in chronological order: Event 1, Event 2, Event 3, Event 1 (next week), Event 4, etc. If you want to show a list of Events like this, you must create a View. However, it's not possible to repeat an Event in a View. Each Event can only be shown once in the View, so this approach doesn't really help you display all the Events you need to show.

On the other hand, if you want to show each Event in a single page, and you want to display multiple dates on that page, then a repeating date field may be sufficient. It's hard for me to say without knowing everything you want to accomplish, but if you need anything like sorting lists based on those dates, or displaying events in a calendar view, or filtering Events by date range, then I feel like you'll get the best results from a plugin dedicated to calendar and event management. Toolset isn't designed to provide all the features you'll need to accomplish a robust calendar system.

if we add a calendar app, will this integrate with WP-Types and the already existing posts?
It may or may not, different calendar plugins work in different ways. Some calendar plugins use their own private custom post types, which Types and Views cannot support. Other plugins may allow you to import events somehow, and you may be able to export your current Event posts to be consumed by that importer. The other calendar plugin probably has its own custom field system, so custom fields from Types may not be supported there. I don't have any calendar plugin recommendations to give you, unfortunately. This may require some research and some trial-and-error.