Prompted by some recent comments, I have made a minor update to my HeadMeta Plugin. There are now links to the color-coded PHP source, a plaintext version, a .ZIP file, and a .tar.gz tarball.
The new version adds automatic generation of a standard <meta/> tag for posts which have a custom ‘keyword’ or ‘keywords’ field. I often tag my posts with a ‘keyword’ field for use with the Related Posts plugin, so I figured I might as well re-use and expose that data in some fashion.
I’ve also updated it to use the is_single() function instead of the global $single variable. Visit the original post for the updates.












Would be a good opportunity to put this into wp-plugins.org. You also get free downloads through downloads.wordpress.org when you do that.
Yeah, I was thinking about that when I was updating it. I need to get all of my plugins updated and uploaded into the repository. I am planning to do that, I just some quality quiet time on the computer. Maybe after the baby is born (any day now!), I can work on it sometimes while mother and baby are sleeping.
Time to get a laptop Kahsoon.com - Interesting Stuff » Funny Stuff Google Video Adds Playable Video Search, Official! Tech Gadgets Blog - LiewCF.com » Google Hurt My Back! Tech Gadgets Blog - LiewCF.com » Life Log HeadMeta Update geek ramblings » Programming, WordPress, Plugins, Software, Metadata So Get to the Bottom, Man! Irregular Times: News Unfit for Print » Politics, George W. Bush Johann Hari Donklephant » Smart Things Said By Smart People, The War On Terrorism,
Nice, Dougal. Glad you took some of that constructive feedback to heart. I think it’ll make the install a little easier. I’ve got the plugin working now & like it fine.
Nice plugin. I am a bit lost though.
You mention:
“if you have a key named “keyword” or “keywords”, it will automatically generate a standard “keywords” meta tag. For example, if you have the following custom field:”
But what “key” do you mean and in what form.
Do I have to add the key in the actual header.php or …
Any help is greatly appreciated. And on forehand sorry for the fact I don’t seem to grasp what is probably very obvious.
Cheers,
G.
Is headmeta compatible with WordPress 2.0? or is this functionality now a part of the WordPress code?
Paul: Yup, I just tested it with RC3, and it works just fine.