Create a recurring event with ACF

tdrayson

One of my clients wanted a way to have a weekly recurring event/post.

In this tutorial, I will show you how to setup the fields and then add the code required to automatically update an ACF date field.

1. Create field group

Create field group

2. Add a “Date Picker” field

Add a "Date Picker" field

3. Name your field “date”

Name your field "date"

4. Set field return format

For full day events, you can use the return format Y-m-d

For specific timed events, use the return format Y-m-d h:i

4. Save your field group

Save your field group

5. Create a new test post

Create a new test post

6. Select a date from the field you just created

Select a date from the field you just created

7. Publish your test post

Publish your test post

8. Add the code

Members content only

Become a snippetclub.com member to gain instant access to this tutorial plus tons more premium content.

Already a member? Log in below.

Login Form

👋🏻 Weekly Tutorial Digest

I send out a weekly newsletter with links to new tutorials written in the last week, you can subscribe below.

Newsletter

🔒I won't send you spam, I promise