This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Add HTML, JavaScript and CSS to <head>

Description

An easy, small, free and fast plugin to add/inject HTML, CSS or JavaScript code to the <head> HTML part of your site.

Some examples of possible use cases for this plugin are:

  • Injecting custom CSS into the <head>.
  • Inserting a <meta> tag into the <head> for Google Search Console validation.
  • Adding Google Analytics JavaScript into <head>.
  • Insert the <base> tag into <head&gt, to set a default URL and a default target for all links.
  • Adding device-optimized favicons by using the <link> tag
  • Injecting content with the <template> tag into <head>, in order to initially content from the user (and display it later using JavaScript).

Screenshots

Installation

  1. Upload the plugin files to the /wp-content/plugins/add-html-to-head directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Use the Settings->Plugin Name screen to configure the plugin

Or just click install and activate in the WordPress plugin browser.

FAQ

Installation Instructions
  1. Upload the plugin files to the /wp-content/plugins/add-html-to-head directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Use the Settings->Plugin Name screen to configure the plugin

Or just click install and activate in the WordPress plugin browser.

Will the plugin always be free?

Yes. If you find this plugin useful however, you may donate any amount you would like to donate. Or nothing at all, that’s fine too. 🙂

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Add HTML, JavaScript and CSS to <head>” is open source software. The following people have contributed to this plugin.

Contributors

“Add HTML, JavaScript and CSS to <head>” has been translated into 1 locale. Thank you to the translators for their contributions.

Translate “Add HTML, JavaScript and CSS to <head>” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

0.1.2

Improved settings page layout.

0.1.1

Added settings and support links.

0.1.0

Initial release.