Home › Forums › Backend Issues (wp-admin) › Populate select color from option to a page › Reply To: Populate select color from option to a page
You could always make a repeater field that will generate the css classes and then use the load-field function to put those class names in the select dropdown values, that because the classes names and colours will always come from the Options page direct into the css you wouldn’t have to worry about then reloading the child pages when you update the content.
good luck!
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.