[wp-trac] [WordPress Trac] #6686: New Feature: insert header &
footer snippets
WordPress Trac
wp-trac at lists.automattic.com
Fri Apr 11 18:50:33 GMT 2008
#6686: New Feature: insert header & footer snippets
-------------------------+--------------------------------------------------
Reporter: Mrasnika | Owner: anonymous
Type: enhancement | Status: new
Priority: normal | Milestone: 2.7
Component: Template | Version:
Severity: normal | Keywords: header, footer
-------------------------+--------------------------------------------------
One of the problem than I encounter when working w/ Wordpress and changing
themes, is that I often miss to add the header/footer HTML snippets, which
are in general either some sort of site-wide widgets like snap.com, or
some web counter/tracker, or some meta tags like the Google/Yahoo
webmasters verification meta tag. I miss them, because I have added them
to the old version of the themes, and I forget to add them to the new
ones.
To deal with this, I have created a simple plugin (see attached). I
utilizes the wp_header/wp_footer template tags to insert the HTML
snippets. The great thing about it, is that the snippets are going to be
inserted no matter which theme you are using. I know that there are
several plugins similar to that, like the plugin that inserts the Google
Analytics code, but I haven't stumbled upon a more uniform solution.
Anyway, I see great potential for this as a core WordPress feature,
because almost all of the blogs have some sort of HTML snippets inserted.
Please take a look at the attached plugin as a proof of concept and tell
me what you think.
--
Ticket URL: <http://trac.wordpress.org/ticket/6686>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list