Title: Average Head &amp; Footer Code
Author: average.technology
Published: <strong>8 Tháng 8, 2014</strong>
Last modified: 4 Tháng 12, 2014

---

Tìm kiếm plugin

![](https://ps.w.org/average-head-footer-code/assets/banner-772x250.jpg?rev=962685)

Plugin này **chưa được cập nhật với 3 phiên bản mới nhất của WordPress**. Nó có 
thể không được hỗ trợ và bảo trì, và có thể xung đột với các phiên bản WordPress
mới nhất.

![](https://s.w.org/plugins/geopattern-icon/average-head-footer-code_f8f8f8.svg)

# Average Head & Footer Code

 Bởi [average.technology](https://profiles.wordpress.org/averagetechnology/)

[Tải về](https://downloads.wordpress.org/plugin/average-head-footer-code.1.1.zip)

 * [Chi tiết](https://vi.wordpress.org/plugins/average-head-footer-code/#description)
 * [Đánh giá](https://vi.wordpress.org/plugins/average-head-footer-code/#reviews)
 *  [Cài đặt](https://vi.wordpress.org/plugins/average-head-footer-code/#installation)
 * [Nhà phát triển](https://vi.wordpress.org/plugins/average-head-footer-code/#developers)

 [Hỗ trợ](https://wordpress.org/support/plugin/average-head-footer-code/)

## Mô tả

> **Notice**
>  Average is changing its name to AddFunc. Much better, huh?! Therefore,
> this plugin has been republished as [AddFunc Head & Footer Code](https://wordpress.org/plugins/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](https://wordpress.org/plugins/average-head-footer-code/other_notes/)
tab for details.

### Custom Support

If you have a custom support need, [please purchase your support ticket here](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=7AF7P3TFKQ2C2).
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](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=7AF7P3TFKQ2C2)
 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!

## Ảnh màn hình

 * [[
 * Simply paste your code into one of these two fields and it will be included on
   every page of your website.
 * [[
 * Add your code to these fields respectively and it will output specifically to
   this page, post or custom post type.

## Cài đặt

 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)

## Hỏi đáp

  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.

## Đánh giá

Không có đánh giá nào cho plugin này.

## Người đóng góp & Lập trình viên

“Average Head & Footer Code” là mã nguồn mở. Những người sau đã đóng góp vào plugin
này.

Những người đóng góp

 *   [ average.technology ](https://profiles.wordpress.org/averagetechnology/)
 *   [ Joe Rhoney ](https://profiles.wordpress.org/joerhoney/)

[Dịch “Average Head & Footer Code” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/average-head-footer-code)

### Muốn tham gia phát triển?

[Duyệt code](https://plugins.trac.wordpress.org/browser/average-head-footer-code/),
check out [SVN repository](https://plugins.svn.wordpress.org/average-head-footer-code/),
hoặc theo dõi [nhật ký phát triển](https://plugins.trac.wordpress.org/log/average-head-footer-code/)
qua [RSS](https://plugins.trac.wordpress.org/log/average-head-footer-code/?limit=100&mode=stop_on_copy&format=rss).

## Nhật ký thay đổi

#### 1.1

1-Dec-2014

 * Announces move to [AddFunc Head & Footer Code](https://wordpress.org/plugins/addfunc-head-footer-code/)
 * Fixes metabox nonce
 * Removes icon.svg

#### 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()`

## Meta

 *  Phiên bản **1.1**
 *  Cập nhật lần cuối **11 năm trước**
 *  Số lượt cài đặt **100+**
 *  Phiên bản WordPress ** 3.0.1 hoặc cao hơn **
 *  Đã kiểm tra lên đến **4.0.38**
 *  Ngôn ngữ
 * [English (US)](https://wordpress.org/plugins/average-head-footer-code/)
 * Thẻ
 * [footer](https://vi.wordpress.org/plugins/tags/footer/)[footer code](https://vi.wordpress.org/plugins/tags/footer-code/)
   [head](https://vi.wordpress.org/plugins/tags/head/)[head code](https://vi.wordpress.org/plugins/tags/head-code/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/average-head-footer-code/advanced/)

## Đánh giá

 5 trên 5 sao.

 *  [  2 5-star reviews     ](https://wordpress.org/support/plugin/average-head-footer-code/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/average-head-footer-code/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/average-head-footer-code/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/average-head-footer-code/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/average-head-footer-code/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/average-head-footer-code/reviews/#new-post)

[Xem tất cả đánh giá](https://wordpress.org/support/plugin/average-head-footer-code/reviews/)

## Những người đóng góp

 *   [ average.technology ](https://profiles.wordpress.org/averagetechnology/)
 *   [ Joe Rhoney ](https://profiles.wordpress.org/joerhoney/)

## Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

 [Xem diễn đàn hỗ trợ](https://wordpress.org/support/plugin/average-head-footer-code/)

## Ủng hộ

Bạn có muốn hỗ trợ vào sự phát triển của plugin này?

 [ Ủng hộ plugin này ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=7AF7P3TFKQ2C2)