PluginSift
PluginsThemesCompare
Directory
  • Plugins
  • Themes
  • Compare Plugins
Plugin Comparisons
  • SEO
  • Security
  • Ecommerce
  • Page Builders
  • Caching
  • Backup
  • Forms
  • Analytics
Resources
  • About
  • Contact
  • llms.txt

© 2026 PluginSift. Data sourced from WordPress.org. · [email protected]

  1. Home
  2. Plugins
  3. Head
  4. Inline JavaScript in Head
Inline JavaScript in Head icon

Inline JavaScript in Head

Boosts performance of critical short JavaScripts by placing their content directly into the HTML head.

By Palasthotel GmbH·Head·Free
1(1 reviews)
·10 active installs·Updated 5 years ago
DownloadCompare

As of April 2026, Inline JavaScript in Head is a WordPress head plugin with 10 active installations and a 1/5 rating from 1 reviews. It has been downloaded 1.6K+ times in total. Requires WordPress 4.0+ and PHP 5.4+. Available on WordPress.org since 2019. Last updated 5 years ago — may have compatibility concerns. Top alternative: Header and Footer Scripts.

1/51 reviews
10active installs
1.6K+total downloads
7 yearssince 2019

Overview

CAUTION: This plugin is now deprecated! The successor plugin is Embed JavaScript File Content. The new plugin is rebuild from scratch and more rock solid: It respects order and position of scripts and extra scripts added via wp_add_inline_script or wp_localize_script don’t get lost. Give it a try!

In some cases you cannot wait for a JavaScript file to load, even if it is placed early in the <head> section of your template. You can benefit from better performance, if you place the JavaScript code directly inside a <script> tag into the header. This is where this plugin comes in: It provides a filter inline_javascript_in_head_handles, which takes JavaScript handles, dequeues those scripts and echos their code content inline into the head section instead of linking them via a scr…

Read full description on WordPress.org

Ratings & Reviews

11 reviews
5 ★
0
4 ★
0
3 ★
0
2 ★
0
1 ★
1

Compatibility

WordPress4.0+ requiredTested up to 5.4.19
PHP5.4+ required

Top Alternatives to Inline JavaScript in Head

Header and Footer Scripts icon
Header and Footer Scripts
4.6200K+ installsUpdated 2 months ago
ViewCompare
Head &amp; Footer Code icon
Head & Footer Code
5100K+ installsUpdated 2 days ago
ViewCompare
Scripts To Footer icon
Scripts To Footer
4.78.0K+ installsUpdated 4 months ago
ViewCompare
wp_head() cleaner icon
wp_head() cleaner
52.0K+ installsUpdated 4 months ago
ViewCompare
HiFi (Head Injection, Foot Injection) icon
HiFi (Head Injection, Foot Injection)
4.82.0K+ installsUpdated 15 years ago
ViewCompare
View all head plugins →

Frequently Asked Questions

Changelog

1.2.0

  • CAUTION: Last update! This plugin is now deprecated (see description section)
  • Bugfix: Some scripts could have gotten lost under certain conditions.
View full changelog on WordPress.org

Contributors

Palasthotel GmbHPalasthotel GmbHgreatestviewgreatestview
Plugin Info
Version
1.2.0
Last Updated
Apr 29, 2020
WP Requires
4.0+
Tested Up To
5.4.19
PHP Requires
5.4+
Active Installs
10
Downloads
1.6K+
Added
Mar 11, 2019
Business
Free

Tags

headinlineenqueuescriptsjavascript

Developer

P
Palasthotel GmbH
4 plugins0.0M+ total installs
View all plugins →

Quick Compare

Inline JavaScript in Head vs Header and Footer Scripts→Inline JavaScript in Head vs Head & Footer Code→Inline JavaScript in Head vs Scripts To Footer→

Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.