Home › Forums › General Issues › using ACFPro to load custom CSS for a page or post › Reply To: using ACFPro to load custom CSS for a page or post
Hi @madivad,
I must say your implementation is quite complex but if you are not willing to use a plugin to simplify things, another option would be to use the acf/input/admin_enqueue_scripts action to register the custom styles.
This action is limited to pages where field inputs are generated.
You can have a look through the following link: http://www.advancedcustomfields.com/resources/acfinputadmin_enqueue_scripts/
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.