Home › Forums › Backend Issues (wp-admin) › Display repeater in a php as css › Reply To: Display repeater in a php as css
hi thank you for your answer 🙂
Actually I’m making a generic personnal template with customization from the backend; something like in the premium themes.
So I made a “theme apearance options page”. I added fields like “h1 title” as repeater and “colors, fonts…” as subfields.
I made a specific css for my “customization theme” but to display the ACF fields I’m using a php file enqueued as stylesheet.
When I’m enter the value like “$color =’#fff'” and echo it on the css tag it’s working.
So I think my problem is ACF doesn’t knows which fields i’m calling from this file and I need create a function with an add_action. But may be i’m wrong …
But I don’t know how resolve it
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.