Home › Forums › Backend Issues (wp-admin) › Select multiple dates in date field ? › Reply To: Select multiple dates in date field ?
This is not something that the current version of ACF can do. A date field has one value. To accomplish this you need to supply 2 fields, one for start date and one for end date and then work out how these are shown on the front end.
I have had to do this multiple times, unfortunately I don’t have specific and recent code. The last time I had to deal with many variables and display the dates based on it.
1) Same start and end date with different times
2) start and end dates in the same month
3) start and end dates in different months
4) start and end dates in different years
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.