How To Implement Dead Simple Tagging with WordPress 2.0.

First You’ll want to get Cat2Tag 2.0.

This WordPress Plugin allows you to treat categories like tags. It places a text entry box under the post edit field. You just type your categories in in a comma seperated list and viola, they are added as new categories.

It also ads an Ajax menu of all categories that already exist in your blog structure.

The authors site seems to have become a parked domain so I’m uploading this plugin here.

Cat to Tag 2.0 Zip File

Download and extract this file. Upload it to your wp-content/plugins/ directory and activate it in the WordPress dashboard -> Plugins.

Next here is a functions.php file I made that replaces the the-category() function with a get_tag_category() function.

All this does is substitute the category display function with a modified version. Instead of inserting a rel=”category tag” into the links it will inster rel=”tag”.

Some may feel that this is not neccessary, b ut I disagree. The standard is rel=”tag”. So that is what I want to use. I want spiders that only know what rel=”tag” means to be able to find my tags.

Here’s the file
Category Tagging functions

Download this file unzip and upload to your wp-content/themes/YOUR_THEME/ folder.

Go to your WP Dashboard to the permalinks tab and in the categories text field type /tag.

Thats it. You’re done and ready to tag :)

Well…

I would also recomend the following things, but they are not mandatory.

  1. Set your number of posts to 20 or so.
  2. Copy your wp-content/index.php file to wp-content/single.php
  3. Rewrite wp-content/index.php so that it displays nothing but the title, permalink and excerpt of the posts.

You can see this exact system in use right here at danemorgan.com.

If you click over to my tag pages you’ll see that they are handeld by index.php displaying the excerpts with the next and previous page links enabled.

If you view source on this page you will see that the tags have rel=”tag” in the code.

I’d love to hear your comments on this process, and any complaints, or suggestions are welcome too.

Reference Lookup: Dictionary, Thesaurus, Encyclopedia, & More
powered by PostRef


Dane Morgan wrote this at around evening time: