HeFo: Header & Footer WordPress Plugin Homepage

This plugin is designed to inject HTML snippets into the header and the footer of WordPress pages, in order to make them persistent across themes, and theme-independent.



  1. Download the installation archive and uncompress
  2. Upload the unarchived folder to your plugins directory (this is wp-content/plugins/)
  3. Activate the plugin in your WordPress administration panel (this is the Plugins page)
  4. Configure the plugin from the Design (Presentation) tab in the WordPress administration panel (look for the „Header & Footer“ page)
  5. That’s it ;)


Coming soon …


  • (April 16, 2008) The plugin has been accepted in WordPress plugin repository!

    This plugin is now featured on the WordPress.org plugin repository:


    Now you can take all the advantages it offers like notifications for updates and new versions, as well as the automatic upgrade (as of WordPress 2.5)!

  • (April 13, 2008) The first public release is officially out!

    Although developed several months ago, I never had the time to release this plugin „officially“. Recently I was advised to propose it as a core feature for future WordPress releases (you can see the proposal here and some of the comments here). I turned out that this type of feature is better suited for a plugin, so here it is – the first public release of the plugin ;)


Submit all your comments and bitter remarks in the comments form below. If you post a support ticket, use the WordPress.org forums for this plugin.

17 коментара

  1. This plugin is nice – very simple, but very useful.

    A suggestion that i thin would make it FAR more useful – set it up so we can add things to header and footer on a per-post or per-page basis. That is, add something to the header of a particular post or page. You could do it with a new meta box added to the Edit Page screen. :)

    Comment by Stephen R — 28 юли 2008 @ 17:07

  2. Thank you, Steven! It’s a great idea

    Comment by Kaloyan — 28 юли 2008 @ 17:09

  3. Since I would really like to see this, (but don’t have time to do it myself), I’ll throw you some hints to maybe get you going. ;-)

    Take a look at the code from my Quiz plugin. It will show you how to:

    1. Add a meta box to the post/page edit screen

    2. Add meta-data to particular posts and pages


    Comment by Stephen R — 22 август 2008 @ 00:04

  4. […] HeFo- Easily add to your header and footer so it shows in every page on your theme. […]

    Pingback by Wordpress Plugins | Free Software Blog — 22 декември 2008 @ 01:45

  5. […] oddly yet appropriately named HeFo WordPress plugin allows you to insert HTML snippets in the header or footer of your WordPress blog and these […]

    Pingback by WordPress Wednesday: HeFo Plugin | BlueFur.com — 9 септември 2009 @ 22:26

  6. […] platform and highly recommend achieving the Analytics install through the use of the plugin HeFo. This plugin is my best friend in other ways such as when I want to validate a bunch of blogs at […]

    Pingback by Intro to Analytics — 25 ноември 2009 @ 22:52

  7. Thanks for the great plugin! I have 1 question: I am using this plugin to display my header image. Is there anyway to remove the space between the HTML that the plugin handles and the actual space? i.e I don’t want the header image to be separate from the page. I hope this makes sense.

    Comment by Chad — 14 декември 2009 @ 00:24

  8. @Chad, the stuff printed by wp-hefo in the header as inside the <head>..</head> part of the page, so it is not designed to print images.

    Comment by Kaloyan — 14 декември 2009 @ 16:03

  9. thanks, this plugin helps too much in my review blogs.

    Comment by hostingisbest — 16 декември 2009 @ 16:36

  10. Hi,

    I installed the plugin and added a footer. Nothing happened.

    Does it have anything to do with the fact that I am using a free template where they have given me a footer.php file that is CODED in „base64“ code??? The footer file basically just looks like a bunch of code.


    Comment by Michael — 23 декември 2009 @ 05:21

  11. @Michael: your theme got to have the <?php wp_footer(); ?> thing in the footer in order to make the plugin work (as well as the <?php wp_head(); ?> in the header).

    Comment by Kaloyan — 25 декември 2009 @ 11:31

  12. Merci pour cette extension !

    Comment by oliveir — 13 май 2010 @ 20:29

  13. Handy and simple. But It would be great if there were a check box to place the entered html clde either before or after the normal header content and before or after the normal footer content. It would be more flexible for the intended use.


    Comment by gp — 9 октомври 2010 @ 21:52

  14. @GarryP: Are you talking about making it print ahead of the rest of the stuff attached to the wp_header()/wp_footer() plugin hooks ? If that’s the case, then yes, I think I can do this – there is a way in WordPress to set a priority to the callbacks you are attaching to the plugin hooks, so indeed it is possible to make yourself the first of the last thing called from a hook.

    Can you give me an example of what you have in mind, just to be sure that we are on the same page ?

    Comment by Kaloyan — 10 октомври 2010 @ 01:27

  15. I sent examples by email reply. Thanks.

    Comment by gp — 10 октомври 2010 @ 16:54

  16. I guess the above could not be accomplished? Just wanted to inform that I am using it with WP v 3.0.1, and it works.

    Comment by gp — 17 октомври 2010 @ 20:50

  17. I need the code for the header banner display – I deleted it by mistake and can;t get it back.

    Comment by Al — 6 февруари 2011 @ 23:29

RSS хранилка за коментарите по тази публикация. TrackBack URI

Нямате право да публикувате коментари в момента.