dimanche 19 avril 2015

Moving JavaScripts from WordPress Template Header to Footer

I need some help moving the JavaScripts from the header to the footer.


`/library/js/jquery.uniform.min.js" type="text/javascript">


/library/js/jquery-ui-1.8.14.custom.min.js" type="text/javascript"> /library/js/jquery.xml2json.js" type="text/javascript">

/library/css/uniform.default.css" type="text/css" media="screen" charset="utf-8" /> /library/css/ui-lightness/jquery-ui-1.8.14.custom.css" type="text/css" media="screen" charset="utf-8" /> `


So the reason it's not loading is because WP executes it's standard JS scripts at the bottom of the page, while the form there has it in the middle of the page, so the scripts it depends on aren't loaded when they try to execute, and thus the form can't render. Please help us move them to the bottom.


Aucun commentaire:

Enregistrer un commentaire