Directory / plugin

Add HTML, JavaScript and CSS to <head>

v0.1.2 · by Rob Bakker

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

View on WordPress.org

About this plugin

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).

Plugin tags