Title: Script at Head
Last modified: October 2, 2020

---

# Script at Head

 *  Resolved [mktk54](https://wordpress.org/support/users/mktk54/)
 * (@mktk54)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/script-at-head/)
 * Is there a way to specifically add to the very beginning of <head>? I wish there
   were options to do such things like the beginning of head, end of head, just 
   after </footer>, just before </body>. I found another plugin by Space X-Chimp
   able to do this but that does only that. I wish I could do this with your plugin.
   
   Otherwise, this is without any doubt, the best plugin of this category! Thank
   you!

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [99robots](https://wordpress.org/support/users/99robots/)
 * (@99robots)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/script-at-head/#post-13506361)
 * [@mktk54](https://wordpress.org/support/users/mktk54/) Thank you for your feedback.
   We added your request to our todo list.
 *  Thread Starter [mktk54](https://wordpress.org/support/users/mktk54/)
 * (@mktk54)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/script-at-head/#post-13510237)
 * Great!! Thank you again for considering.
 *  [jdavidstark](https://wordpress.org/support/users/jdavidstark/)
 * (@jdavidstark)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/script-at-head/#post-14152343)
 * I have a script installed on [this page](https://www.jdavidstark.com/subscribe/post-logos-partner-pack-download/)
   and set to run in the header.
 * But when the page loads, the browser momentarily flashes one version of the page
   before pulling in the replacement (e.g., Edge, Firefox).
 * Is the ability to move a script higher in the header (e.g., to the top) what 
   would allow the script to run without flashing the one version of the page first?
 * Thank you so much for your thoughts.
 *  Plugin Author [99robots](https://wordpress.org/support/users/99robots/)
 * (@99robots)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/script-at-head/#post-14203589)
 * [@jdavidstark](https://wordpress.org/support/users/jdavidstark/) – We didn’t 
   see this request as it’s in someone else’s ticket and already resolved. If you
   don’t mind, please open a new ticket next time.
 * Since we’re already here, we had a quick look at this page:
    [https://www.jdavidstark.com/subscribe/post-logos-partner-pack-download/](https://www.jdavidstark.com/subscribe/post-logos-partner-pack-download/)
 * And we see the momentary flash you spoke about. I do not believe that to be related
   to our plugin or whether placing the snippet at beginning of <head> will make
   any noticeable difference. however you can try it simply by switching the snippet
   that is currently first with whatever is creating that redirection.
 * Also worth doing to eliminate the blue background momentarily displaying is heavily
   compressing the background image. It is 5013 x 4634 and 5.1 MB. That also adds
   to the slowness.
 * [Image link](https://storage.googleapis.com/smartbribe-backgrounds/uploads/production/bribe/background/22402/janko-ferlic-sfL_QOnmy00-unsplash_greyscale.jpg?GoogleAccessId=smartbribe-uploader%40lucid-ceremony-176113.iam.gserviceaccount.com&Expires=1616098774&Signature=fBcy8cKhZczfB9OD1ruUypxh1yb7CtCnQZSepdjG1%2FlbutcCbhGP1UYdQaQW%2BtwteB4qHqU4C3XrSSBUxBKi6O8%2BQVyqLsy8LAe%2FxMuu1yXA%2FTND2EVFvV47LVux07ZjOUptb7Hmk9d%2FyAWNysVKFKb9e2%2B3dUFBgDsItED2wU3E2FJal96BlMMv5UIQHdH8PN8IKcu0v81YqQadZ1oziYoNZwOdd2AnpGE986FfgT8WS5N7a13h2lrZTCf5JqTNaQuLtYe3mqpDc3dkNW94Pp56TVhC7Rtp6Swh0DetCJTFCmGWFfq6vPtveh%2FHqADyD63SWME8G6azqlemiKVZFw%3D%3D)
 * Let us know if that helps resolve your scenario. Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Script at Head’ is closed to new replies.

 * ![](https://ps.w.org/header-footer-code-manager/assets/icon-256x256.png?rev=2681303)
 * [Header Footer Code Manager](https://wordpress.org/plugins/header-footer-code-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/header-footer-code-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/header-footer-code-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/header-footer-code-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/header-footer-code-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/header-footer-code-manager/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [99robots](https://wordpress.org/support/users/99robots/)
 * Last activity: [5 years, 2 months ago](https://wordpress.org/support/topic/script-at-head/#post-14203589)
 * Status: resolved