Script loading optimization
-
Hi, in order to optimized (google speed insight) a blog using this great plugin I changed the enqueuing of the script:
wp_enqueue_script(‘wpml_script’, plugins_url(‘wpml_script.js’, __FILE__), array(‘jquery’),”9999″, true);
adding a “true” to suggest wp to load it in the footer. It works on my site, if possible evaluate this little change for future versions.
Thank you, Stefano.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Script loading optimization’ is closed to new replies.