Add custom Javascript/HTML/CSS codes to the page head without editing the template.
As of April 2026, Add Code To Head is a WordPress css plugin with 3.0K+ active installations and a 5/5 rating from 2 reviews. It has been downloaded 41K+ times in total. Requires WordPress 3.3.2+ and PHP false+. Available on WordPress.org since 2012. Last updated 1 year ago — may have compatibility concerns. Download volume is stable this week. Top alternative: WPCode – Insert Headers and Footers +….
Intended users: Template Designers, Developer
If you wish to add any custom HTML to the bottom of each page’s head, then this plugin is for you. For example, you can add some custom CSS, a link to an external javascript file or something else.
The problem with editing the template directly is if you ever update the template, your changes will be lost. This plugin works around this issue.
Plugin Icon (CC BY 3.0) by DeniShop
Works flawlessly
used this plugin to add some google code to <head></head>
| WordPress | 3.3.2+ requiredTested up to 6.7.5 |
| PHP | false+ required |
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.