This is the first release of my latest and greatest wordpress plugin Ultimate Tag Warrior. It’s a tagging plugin for wordpress with normalised data (Oooh. Aaaah); and three ways of getting tags back out (Tags on a post, popular tags, and an archive a-la my Category Archive plugin).
Functions
There are three functions worth thinking about (the rest is “don’t mind the man behind the curtain” stuff)
- ultimate_show_post_tags($separator=” ”, $baseurl=’http://www.technorati.com/tag/’, $notagmessage = “No Tags”)
- Display a list of tags associated with the current post.
$seperator is the string that seperates tags. It only appears between tags, and not at the beginning or end of the list.
$baseurl is the base URL to link the text of a tag to. The tag link takes the form {baseurl}{tagname}. The default points to Technorati. The value “/tag/” would link to the local tag page.
$notagmessage is the text to display when a post has no tags. - ultimate_show_popular_tags($limit=10)
- Display a list of the most popular tags. The tags are wrapped in li html tags, and the number of matching posts is also displayed.
$limit is the maximum number of tags to display. - ultimate_tag_archive($limit = 20, $postlimit=20)
- The tag version of this plugin
Download
http://www.neato.co.nz/plugins/ultimate-tag-warrior-0.1.zip
This file contains the full documentation, the plugin file, an installation script, and a basic tag.php template.
Nice plugin! Wasn’t that hard to install (and I’m really new to WordPress).
I dig it.