Although I upgraded to WordPress 2.3 over a month ago, I hadn’t taken the time to edit my template so that it would show the tags on each of my posts. I also wanted to add a tag cloud to the sidebar. It’s actually very easy to add tags to your template with WordPress 2.3.The following two links will help you get all set up:
- the_tags: this method is used for displaying the tags of a single post. Use this within your Single Post template file.
- wp_tag_cloud: this method will build a tag cloud for you. Use this within your Sidebar template file.
It’s pretty simple. Just add those two methods to your single post and sidebar templates, and you’ll be ready to go.
WordPress 2.3.1 finally came to Fantastico on my Hostmonster account, so I have finally upgraded. I haven’t seen any problems yet. I’m hoping that most bugs have been smoothed over from the 2.3 release.
One of the things that I’m most excited about for this release of WordPress is the native support for tagging. I wrote a post a little while back on category cleaning for my blog. I used to treat categories like tags, but I’ve changed my thinking and the way that I organize my blog. I now have 1 category per post (unless I really have to go to 2).
Categories are like folders in a filing cabinet, tags are more like the index of a book, describing the contents so that you can easily find them later on.
After having used del.icio.us for almost 2 years now, I’ve found tags to be a really effective way of indexing my bookmarks. I can almost always find what I’m looking for very, very quickly. I’m hoping that tagging will come in useful for my blog as well.