Moving jQuery init scripts to wp_footer
-
I recently updated a site to put all render-blocking javascript and styles in the wp_footer (recommended by Google PageSpeed). I ran into an issue with this plugin where the jQuery initiation scripts were being injected in the middle of the page.
I ended up fixing the issue by echoing these scripts under the wp_footer action. Is this something you can incorporate into the plugin?
I have files and a .diff file. Is there a place I can send you the files to look at? It will probably need some testing in other sites.
Thanks!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Moving jQuery init scripts to wp_footer’ is closed to new replies.