New Feature: insert header & footer snippets
|Reported by:||Mrasnika||Owned by:|
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.
Change History (15)
comment:12 follow-ups: ↓ 13 ↓ 14 @westi — 7 years ago
- Milestone 2.7 deleted
- Resolution set to invalid
- Status changed from new to closed