Average Head & Footer Code

December 04, 2014

Average Head & Footer Code Plugin

Easily add code to your head and/or footer, site-wide and/or on any individual page/post.

Notice
Average is changing its name to AddFunc. Much better, huh?! Therefore, this plugin has been republished as AddFunc Head & Footer Code. The “AddFunc version” is compatible with the “Average version,” so installation and activation of either or both is risk-free. This also enables you to manually transfer all of your head and footer code to the “AddFunc version” (if you wish). The “Average version” will remain available with minimal support until it becomes a burden for AddFunc (probably for many years to come, as of 2014). Any new features will only be added to the “AddFunc version,” so it is of course the recommended version (at least for future projects). Thanks!

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.

Custom Support

If you have a custom support need, please purchase your support ticket here. Support tickets are responded to within 24 hours, but we answer them as soon as possible.

How it works

  1. Purchase a support ticket via PayPal
  2. You get a chance to provide the best way to contact you and a description of your need
  3. I contact you as soon as I can (no less than 24 hours) and help resolve your issue

Note: This is for custom needs for help, not problems with the plugin, or instructions that should already be explain in the description. If you feel there are important details omitted from the description, installation steps, etc. of the plugin, please report them in the Support forum. Thanks!

Installation

  1. Upload the entire /average-head-footer-code folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the Plugins menu in WordPress
  3. Add code site-wide in Settings>Head & Footer Code or on individual pages/posts using the Head & Footer Code meta box when in edit mode in a page (or any post type)

Screenshots

  1. <p>Simply paste your code into one of these two fields and it will be included on every page of your website.</p>

    Simply paste your code into one of these two fields and it will be included on every page of your website.

  2. <p>Add your code to these fields respectively and it will output specifically to this page, post or custom post type.</p>

    Add your code to these fields respectively and it will output specifically to this page, post or custom post type.

FAQ

Where does the head code output?

Wherever wp_head() is located in your theme.

Where does the footer code output?

Wherever wp_footer() is located in your theme.

Does it really require WordPress 3.0.1 or later?

I have not tested it on earlier versions. In fact, I could use help with testing. Feel free to try it out in an earlier version and let me know if it works! 🙂

Does Average have a website?

The cobbler has no shoes… yet.

Changelog

1.1

1-Dec-2014

1.0

7-Aug-2014

  • Includes readme.txt
  • Submitted to WordPress

0.4.1

6-Aug-2014

  • Code cleaned up (mostly comments removed)
  • Excludes unnecessary file: style.css

0.4

8-Jul-2014

  • Bug fix: replaced “my-meta-box-id” with “avrghdftrcdMetaBox” (duh)

0.3

27-Oct-2013

  • Hid Head & Footer Code meta box from non-admin users

0.2

15-Oct-2013

  • Adds a Head & Footer Code settings page for site-wide code (for admins only)

0.1

14-Aug-2013

  • Adds Head & Footer Code meta box to all pages, posts and cusom post types
  • Saves Head & Footer Code entry to the database as custom fields
  • Outputs code to the website in wp_head() and wp_footer()

Details

  • Version: 1.1
  • Active installations: 100
  • WordPress Version: 3.0.1
  • Tested up to: 4.0.38

Ratings


5 Stars
4 Stars
3 Stars
2 Stars
1 Stars