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!
🤔 Curious about the ACF user experience? So are we! Help guide the evolution of ACF by taking part in our first ever Annual Survey and guarantee you’re represented in the results. https://t.co/0cgr9ZFOJ5— Advanced Custom Fields (@wp_acf) May 8, 2023
© 2023 Advanced Custom Fields.