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.

WP Head Footer

Description

WP Head Footer allows administrators to add code to the head and/or footer of an individual post (or any post type) and/or site-wide.

No need to edit your theme files!

WP Head Footer allows you to add extra scripts to the header and footer, without touching your theme files

Features of WP Head Footer

  • Quick to set up
  • Simple interface
  • Insert header code and/or footer code of an individual post (or any post type) and/or site-wide.
  • Set the output priority of the head and footer code
  • Add Google Analytics code to any theme
  • Insert Facebook pixel code
  • Add custom CSS across themes
  • Insert any code or script, including HTML and Javascript

Notes about the Plugin

In order to use this plugin, you must have the manage_options and unfiltered_html capabilities .

Setting the DISALLOW_UNFILTERED_HTML constant to true in the wp-config.php
would effectively disable this plugin’s admin because no user would have the capability.

There is no input validation or any filtering. This plugin puts exactly what you type in the meta box directly into the html. Be careful.

Screenshots

  • Code will be included on every page of your website.
  • Code will output specifically to this page, post or custom post type. Optionally you can replace or remove the site-wide code
  • Head
  • Footer

Installation

  1. Upload the WP Head Footer plugin to your WordPress site in the /wp-content/plugins folder or install via the WordPress admin.
  2. Activate it from the WordPress plugin admin screen.

FAQ

Installation Instructions
  1. Upload the WP Head Footer plugin to your WordPress site in the /wp-content/plugins folder or install via the WordPress admin.
  2. Activate it from the WordPress plugin admin screen.
Where is the settings?
  1. Menu > Settings > WP Head Footer, for the site-wide settings.
  2. Edit post/page, WP Head Footer Meta box.
How do I add support for custom post types?

To add support for custom post types use add_post_type_support( ‘my_post_type’, ‘wp-head-footer’ ):

function my_WP_Head_Footer() {
    add_post_type_support( 'my_post_type', 'wp-head-footer' );
}
add_action( 'init', 'my_WP_Head_Footer' );

Contributors & Developers

“WP Head Footer” is open source software. The following people have contributed to this plugin.

Contributors

Translate “WP Head Footer” into your language.

Interested in development?

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

Changelog

View a list of all plugin changes in CHANGELOG.md.