I've seen many plugins like Lightbox 2 and WP-Polls insert <script> tags in the <head>. How can I make all the <script> that are automatically inserted in the <head> automatically move directly above the </body> tag?
I've seen many plugins like Lightbox 2 and WP-Polls insert <script> tags in the <head>. How can I make all the <script> that are automatically inserted in the <head> automatically move directly above the </body> tag?
I need help. Is there something in the plugin code that says create <script> in <head>? If so, where and how do I change it?
If a plugin (like an Analytics plugin) is inserting a script where you don't want it, I'd recommend just not using that plugin. You can edit your theme files (like footer.php) to add the script yourself.
If you really want to edit this plugin (which you will have to redo each time it's updated), here's more info:
Can I make some kind of script that auto-moves the tags in like PHP or Javscript or something? If not, where is the code in the plugins that inserts the javascript so I can take it out and insert if manually?
You must log in to post.