WP_HeadNFoot
WP_HeadNFootShow appreciation for WP_HeadNFoot
- Rate it on WordPress.org
- Tell you friends.
- Help support its development
WP_HeadNFoot Allow you to easily insert text into the footer of your site, post or pages> on Pages you can select that the text be only visible in your rss feed giving you the ability to add a copyright message to the feed to deter or at least benefit from feed reposters. filters are available to easilty adapt the text to include such things as post url , author or title and much more.
- download WP_HeadNFoot.
- Copy to your ‘wp-content/plugins‘ directory.
- Log in with an administration account.
- Select the ‘Plugins‘ tab.
- Scroll down to ‘WP_HeadNFoot’ and click ‘activate‘.
Options
- screenshot-1
- screenshot-2
- screenshot-3
- screenshot-4
The following filters will be automatically replaced in the text.
- @@post_rsstitle@@
- @@post_author@@
- @@post_author_description@@
- @@post_author_email@@
- @@post_author_firstname@@
- @@post_author_lastname@@
- @@post_author_nickname@@
- @@post_author_url@@
- @@post_url@@
- @@post_date@@
- @@post_time@@
- @@post_title@@
- @@blog_url@@
- @@blog_name@@
- @@blog_desc@@
- @@blog_home@@.
If you liked this plug-in visits our download area where you will find many more.
If you have questions, have found any bugs, or you would like to see features added to WP_HeadNFoot please feel free to use the form at the bottom of the page to Contact us. If WP_HeadNFoot doesn’t fill your needs , feel free to Contact us to discuss a specially commissioned plug-in.
If you liked WP_HeadNFoot please:
- Tell you friends.
- Write a review and tell your subscribers.
- Rate WP_HeadNFoot on WordPress.org
You can also make a donation to Help support its development.




Great Plugin!!! on the footer I used it to add banner ads, but i wanted the banner above the credits so went in footer and found that easily
on the header I would like the header to be below my reg header - how can i change that?
@Jackson: Unfortunately to place things in the header the plugin intercepts wp_head. This is usually called from inside the <head> block in html. So really it is not useful in adding things to be displayed to the page.
Hi there, neat plugin! One thing that bothers me is the code is put on admin pages as well. Is there a way to prevent this? I only want the code to be placed on blog pages. Thanks!
Actually I just wanted to update. I made a not so pretty hack for it, will work for now:
function header()
{
if (is_admin()) {
} else {
echo $this->Options['Option']['Head'];
}
}
@leland: This has been taken care of in version 2. There are now options to include in on the blog, login or admin pages.
It now defaults to appear on the blog page only.
Trying to use the 2.0 plugin but changes are not taking effect. Do I need to change some permissions or something?
When you say the changes are not taking effect do you mean the text isn’t appearing in the page or the text being entered is not saved.
There are should be no reason for this. Can you give more details about your setup?
Using HeadNFoot 2.0.0 and WP 2.3.3When I go to options - HeadNFoot I have "test" entered in the header field from a previous version (never used.) "test" shows in the header. I change it to "Header Test" and Submit Options I get no error message or save message; it just returns to the page with "Header Test" still there.If I navigate to another option and then back, the change is gone and it never shows up in the blog.I tried chmoding most of the files in the HeadNFoot folder to 777 but that had no effect.Any help would be appreciated.
@Tom Mahoney : I am having trouble recreating this problem.
Don’t know if this will help but even if I delete the word "test" from the header and submit the change, it remains on the blog and comes back when the option panel refreshes. But if I uncheck the option to display in the blog, login or admin pages, it works as expected even though "test" still in the panel. It looks like where ever the header and footer text is stored refuses to change.
For kicks, I re-downloaded and re-installed. It did not fix the problem - the word "test" is still there!
I just upgrades to WP 2.5. The problem remains.
I added google analytics and when it updates it escapes all the quotes and double quotes when it does not need to?
<script type=\"text/javascript\">
var gaJsHost = ((\"https:\" == document.location.protocol) ? \"https://ssl.\" : \"http://www.\");
document.write(unescape(\"%3Cscript src=\’\" + gaJsHost + \"google-analytics.com/ga.js\’ type=\’text/javascript\’%3E%3C/script%3E\"));
</script>
<script type=\"text/javascript\">
var pageTracker = _gat._getTracker(\"UA-???????-?\");
pageTracker._initData();
pageTracker._trackPageview();
</script>
No ideas at all?
I’m not sure why the options cannot be over written. Especially without any error messages.
I’ll see i can write something to blank out the options completely , so you can start afresh.
The problems seems to be in saving though.
@Tom Mahoney: download this install it enable it and them immediately disable it.
The completely remove the options so you can have a fresh start.
Yes sir. That fixed the problem. Thank you so very much!
@robert: I’ve been using he plugin with analytics since the begining and don’t get the problem you haev. What is version of WordPress are you running? I take it you are running the latest version of the plugin.
I recently installed this plugin and tried to put something in the footer, basically 2 links using <a href code, when I save nothing happens. The footer is not appearing on any of my pages. Do I also have to put something in the header for this to work? Are there any known conflicts? Do I have to enable something in my theme? Thanks!
@VirtuallyNadine: This is not something that has been reported yet. There have been problems where the options screen did not show, which should now have been addressed.
IF you could supply a list of installed plugins we can test for a clash. Also can you let us know the version of wordpress you are on for the test.
I am using head WP_HeadNFoot together with qtranslate. I want to display different footer in every language but if I use the [lang_en] [/lang_en] it doesn’t change the language.
Can I do that?
From what I can gather about the plug-in, it doesn’t sound possible.
Great work!
But: With a german Admin-Interface the Plugin is displayed in a new tab “Settings” and not in the right one “Einstellungen” (german for “settings”)
Thanks. The settings thing was done to have a consistency in the documentation across version where this locations has changed.
Languages was never considered, this will be changed in the next release.
Hi,
I have started using your plugin and think its tops. What I would really like to do is embed tags from other plugins eg: into the post footer.
This does option does not seem to be working with your plugin. If I display the page by itself the embedded tag works fine but not within your post footer feature.
Any ideas?
R
@Robert:
At present the footer and header and inserted at the default priority , which is 10, or as late as possible. Meaning other filters do not have a chance to act on the inserted text.
To fix your problem immediately change the following lines in the plugin:
project/post-footer/index.php
project/post-header/index.php
change
add_filter ( ‘the_content’, array ($this, ‘filter’ ));
to
add_filter ( ‘the_content’, array ($this, ‘filter’ ),1);
This change will be included in the next release.
I am experiencing a couple of minor anomalies. Using Firefox 3 to view the footer on my site, everything seems to work correctly except that the book’s title, which is supposed to appear in a red font, shows up in black.
Viewing with IE8 beta2, the title does appear in color but the image of the book’s cover is missing.
I doubt that the issues are the fault of your plugin but I was hoping that someone could offer an explanation.
@Crawford Harris - The wouldn’t be a problem with the plugin. It sound like a problem with the css in the code you are inserting.
A large part of my problem is that I know no css. What I used was strictly HTML. I understand that using css might solve the font color problem but I can’t imagine why the image would show for Firefox but not IE.
Hi,
Thanks for responding to my query.
Have found an alternative way to do what I wanted to do.
Will check out once this fucntion has been included in new release.
Regards,
R
I would just like this footer to appear on the blog *posts* only, not on pages. Can you please tell me what I should change in the code so it will only appear on my posts? The website is http://carolyncreative.com - thanks!
Alexa
Alexa: This isn’t something that the plug-in can already , and it would be difficult to explain how to hack the plug-in to do this. This will be added to the next release.
I’ve got it installed. I created a page with the text I wanted to use. I then chose “Post Footer” and selected that page in the drop-down box. I then checked the box “Only in Feed.”
What I hoped would occur is that the text in the page (along with an image and a download link) would then show up at the bottom of every post in the RSS feed.
But nothing shows up. Here’s the page of text that I’m trying to use to make this happen:
http://employeetestingcenter.com/blog/items-for-post-footer/
I’m using WP 2.6
I’m trying to do something similar (with this plug-in) to what Chris Garret is doing (which is how I found out about this plug-in). He mentions how he is making a bonus book available for subscribers by making the bonus book available at the bottom of each post in the RSS feed — http://www.chrisg.com/subscribe/.
Tons of people apparently asked him how he was able to make his eBook offer available at the bottom of every RSS feed post, so he posted on his blog that he was using a plug-in…RSS Sticky to begin with that then merged with HeadNFoot.
WordPress does seem cache the RSS feed so adding the footer will not take affect until a new post is added.
If you uncheck the only in feed box, and check that the plugin is actually working as expected and it is not clashing with anything else, this would appear to be the case.
That worked! Sure took a long time for my NetNewsWire to refresh the feed and the text from the page did not display the same way on various feed readers, but after some tinkering it looks good.
Thank you! I am just learning WordPress and I bought a book to help me with it. I was going to buy the WordPress for Dummies but it was delayed in coming out. If my current book isn’t sufficient, I’ll head back here and buy the WP for Dummies through your link.
Thanks