Home › Forums › Backend Issues (wp-admin) › ACF admin CSS/JS not loading › Reply To: ACF admin CSS/JS not loading
I’m having the same issue when migrating. In my acf.php file I only see assets being called like this:
‘src’ => acf_get_dir(‘assets/inc/datepicker/jquery-ui-1.10.4.custom.min.css’)
Replacing with:
‘src’ => get_bloginfo(‘url’) . ‘/wp-content/plugins/advanced-custom-fields/assets/inc/datepicker/jquery-ui-1.10.4.custom.min.css’)
But I get site-wide errors (front and backend) when using this. Ideas?
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.