Home › Forums › Backend Issues (wp-admin) › Admin ACF CSS/JS not loading on production
Thank you for an excellent plugin!
Problem: Admin ACF CSS/JS not loading on production server.
I develop on localhost/staging/production using git and wp-migrate-pro.
ACF loads fine its admin CSS and JS on localhost and on staging server.
ACF loads no admin CSS and JS on production server. Frontend works fine.
(Note: The Google Analytics plugin loads its admin CSS and JS fine on all servers.)
This is the admin CSS and JS that is injected in localhost and staging enviroments:
<link rel=’stylesheet’ id=’acf-global-css’ href=’http://…/wordpress/wp-includes/js/thickbox/thickbox.css’ type=’text/css’ media=’all’ />
<link rel=’stylesheet’ id=’acf-input-css’ href=’http://… etc
<link rel=’stylesheet’ id=’acf-datepicker-css’ href=’http://… etc
<link rel=’stylesheet’ id=’acf-input-flexible-content-css’ href=’http://… etc
<link rel=’stylesheet’ id=’acf-input-gallery-css’ href=’http://… etc
<link rel=’stylesheet’ id=’acf-input-repeater-css’ href=’http://… etc
<script type=’text/javascript’ src=’http://…/wp-content/plugins/advanced-custom-fields/js/input.min.js’></script>
<script type=’text/javascript’ src=’http://…/wp-content/plugins/acf-flexible-content/js/input.js’></script>
<script type=’text/javascript’ src=’http://…/wp-content/plugins/acf-gallery/js/input.js’></script>
<script type=’text/javascript’ src=’http://…/wp-content/plugins/acf-repeater/js/input.js’></script>
Sadly this is urgent as the site is live.
Any ideas what can be happening?
Update 4.3.9 did not include a fix – I will put the CSS/Js links manually into admin unless there is a better temporary fix?
Thank you very much indeed for your prompt work on this issue. I am looking forward to a permanent fix.
@emunthe, you may want to look at this reply from another thread: http://support.advancedcustomfields.com/forums/topic/acf-admin-cssjs-not-loading/#post-10052
It does involve editing the plugin itself, but it worked for me.
The topic ‘Admin ACF CSS/JS not loading on production’ is closed to new replies.
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.