Head & Footer Code

Let we say that you have been told to add some custom code (HTML, JavaScript or CSS style) to page's <head> (like site verification code, custom styles, webfont link, etc), or just before </body> (like pixel tracking, analytics code, heatmap code, etc), but you are not programmer. Then you can use Head & Footer Code to do that.

Simply go to Tools → Head & Footer Code in your website admin dashboard, and insert custom code to HEAD or FOOTER section (depending what you have to do).

If you have to insert some custom code specific for individual article (post, page, custom post type), then you can use Article specific metabox while you editing post/page/custom post type (check out Screenshots). There you can also set should that specific code be appended to site-wide code defined on ToolsHead & Footer Code, or should be overwritten.

Works or broken?

Please, consider to vote for this plugin. When you vote for broken, be so kind and tell in the Forum what is broken. Maybe I might be able to fix it to make the plugin also work for you.

I need your support

It is very hard to continue development and support for this and my other free plugisn without contributions from users like you. If you enjoy using Head & Footer Code and find it useful, please consider making a donation. Your donation will help encourage and support the plugin's continued development and better user support.

Features

  • Set site-wide custom content for head page section (before the </head>)
  • Set site-wide custom content for footer page section (before the </body>)
  • Set article specific custom code for head page section (before the </head>)
  • Set article specific custom content for footer page section (before the </body>)
  • Choose priority of printed custom code to head/footer sections (lower number mean far from </head> and </body>, higher number means closer to </head> and </body>)
  • Choose which post types will have enabled article specific head/footer fields
  • Choose should article specific head/footer code be appended to site-wide code, or will replace site-wide code
  • Site-wide section located under Tools > Head & Footer Code
  • If you have enabled WP_DEBUG constant in wp-config.php, you'll see site-wide and article specific entries in page source code wrapped to comments.

General settings, including HEAD, FOOTER global code and priority, have been saved to WordPress option auhfc_settings. Each post/page/custom post type specific HEAD and FOOTER code have been saved to post meta _auhfc. On plugin uninstall these data is also deleted from database.

Head Cleaner

Cleaning tags from your WordPress header and footer. To speed up the loading of JavaScript and CSS. PHP5 Required....

Similar: 40%

WP Canvas - Insert Code

This plugin makes it easy for you to add custom scripts to the head and footer sections of your site. A theme can also add theme support to enable the insert of custom code (HTML, Javascript, and CSS) at the top of a page, above header, below header, above content, and below content. Live Demo &.........

Similar: 29%

Enhanced Header / Footer Injections

Enhanced Header / Footer Injections allows you to insert HTML code into the header and footer sections of your templates on a page per page basis. This also works with custom post types, archive pages, the 404 page, the main blog page and the front page (if used). The plugin is designed to help sp.........

Similar: 24%

WelcomeUser!

WelcomeUser! make it possible to add customizable welcome messages to you users based on their user roles. Inspired by sites such as eBay and Amazon, use this handy plugin for things such as: Providing a set of quick links for your users Displaying a friendly welcome message Creating a call-to-ac.........

Similar: 21%

Header and Footer Scripts Inserter

An easy to use and lightweight WordPress plugin that gives you the ability to easily insert custom scripts (HTML with JavaScript, CSS and else) in the head or/and footer section of your website. No need anymore to editing a files of your theme or plugins in order to add custom scripts (HTML with Ja.........

Similar: 18%

AddFunc Head & Footer Code

Allows admins to add code to the <head> and/or footer of an individual post and/or site-wide. Ideal for scripts such as Google Analytics conversion tracking code and any other general or page-specific JavaScript. Custom support tickets are available See Other Notes tab for details....

Similar: 15%

Fern Leaf Regulatory Notices

Allows administrators to add notices to the top and bottom of a site and/or add a notice to posts for the purpose of compliance, statutory requirement or disclaimers. It provides a secure way for an administrator to ensure that they have control of regulatory notices that may be required by the sit.........

Similar: 15%

RS Head Cleaner Plus

This plugin cleans up a number of issues, doing the work of multiple plugins, improving speed, efficiency, security, SEO, and user experience. It removes junk code from the document HEAD & HTTP headers, moves JavaScript from header to footer, combines/minifies/caches CSS & JavaScript files, .........

Similar: 14%

TR WP Custom Login Page

TR WP Custom Login Page by http://themeroad.net WP Custom Login Page allows to you change your unlimited custom logo,unlimited custom text,unlimited custom background color,unlimited custom body background color easily.After publishing this plugin people enjoy custom wp login page smoothly. It's re.........

Similar: 7%

WPVKP Custom Login Page

This easy to use plugin gives you the power to convert the boring wordpress login page with much more attractive and personalized login page. This plugin helps to improve your brand authority and also helps to improve user experince. Now can customize the logo, the background, the login button and v.........

Similar: 4%