Home › Forums › ACF PRO › How to Select Repeater Data from a Dropdown › Reply To: How to Select Repeater Data from a Dropdown
What if you create a repeater in the theme options.
It has title, description, link etc. But you add another column for post object. This is then a multiselect and allows the user to select which page that row should appear on. I’d set it to return the post ID
Your code then needs a line in your repeater which gets the current page ID and compares it to the row post object IDs. If it matches, show the content.
Would that work?
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.