Home › Forums › Add-ons › Repeater Field › Add ACF Repeater Field rows as individual items to Search Results › Reply To: Add ACF Repeater Field rows as individual items to Search Results
So. I had a situation where I needed to do something similar.
Basically the client wanted events that had multiple dates plus they wanted each event date to appear in the archive. To do this I gave them a repeater to set event dates. When they update an event on the acf/save_post hook I create a child post for each event date with all of the needed information from the parent event. The child events are hidden.
This can be done in any number of ways.
The hard part was checking the values submitted against posts that already exist and then creating/deleting post as needed.
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.