How to Switch from Ultimate Tag Warrior to WordPress 2.3 Tagging

WordPress Logo

Okay, a while ago, I upgraded my personal blog from WordPress 2.2.3 to WordPress 2.3. One of my biggest concerns was how would I switch from using the Ultimate Tag Warrior plug-in to WP 2.3′s tagging system. Good thing it didn’t involve too much of a fuss and I’d like to share how I did it.

  1. Perform your backups – database, files, etc..
  2. Install and upgrade WordPress (or overwrite the old version)
  3. Make the necessary changes to your template to accommodate the tags In my case I had to replace the UTW functions with the WP’s tag functions.
    • First, I got rid of the <?php if (is_tag()) { echo ' : '; UTW_ShowCurrentTagSet('tagsettextonly'); } ?> in the header.php file. I previously put it there so that tags pages would show the tag in the page title.
    • Next, I replaced <?php UTW_ShowTagsForCurrentPost("commalist") ?> (shows my tags) with WP’s <?php the_tags('before','separator ','after'); ?> found in my index.php and single.php. Remember to replace before, separator and after with elements that you’d want to show up when showing the tags.
    • Finally, I replaced the tag cloud function <?php UTW_ShowWeightedTagSetAlphabetical("sizedtagcloud","",0) ?> in my tags.php template page with <?php wp_tag_cloud('smallest=8&largest=36&'); ?>
  4. After editing the theme, it was time for me to import my tags from UTW to WordPress and it’s quite easy. The import manager is found in the Manage -> Import option of the wp-admin interface. You’d see there an option for Ultimate Tag Warrior. Clicking on it will bring you to the five-step import process of UTW tags to WP. It simply guides you to the quick and easy steps. Step 1′s backing up your database and the rest is just a matter of clicking the next button until you go through them all.

Ultimate Tag Warrior to WordPress 2.3

My blog’s running with no problems whatsoever.

29 thoughts on “How to Switch from Ultimate Tag Warrior to WordPress 2.3 Tagging”

  1. I can’t really say if it provides anything at all for a blog. I, myself, think that it can be redundant since you already have your categories. However, from personal experience, it helped me with search optimization with some of my tags getting decent traffic.

  2. For the first one, replacing

    with

    works because WP2.3 give the page title same as the tag. Same if you want to show on the tag page something like:

    “You are viewing posts tagged .”

  3. [my comment above have php command and stripped]
    For the first one, replacing
    UTW_ShowCurrentTagSet(‘tagsettextonly’)
    with
    wp_title(”)
    works because WP2.3 give the page title same as the tag. Same if you want to show on the tag page something like:
    [?php if (is_tag()) { ]
    “You are viewing posts tagged [?php wp_title('') ?].”
    [?php } ]

  4. Hi there,

    I followed your istructions and made an import. Even if it’s done, the results in blog are discouraging: now it shows every tag like this: «beforeBushseparator foneticaseparato» (where “Bush” and “fonetica” were the only tags).

    Do you know how to cope with that damn issue?

    Thanks in advance.

  5. I currently use the UTW_ShowRelatedPostsForCurrentPost function. I’ve upgraded to WP2.3 and this function appears to be working OK.

    I would still like to go ahead and uninstall UTW as it is not supported in WP2.3. Is there a WordPress 2.3 equivalent to the UTW_ShowRelatedPostsForCurrentPost? or perhaps an alternative plugin you recommend for showing related posts.

    Thanks.

  6. found in my index.php and single.php. Remember to replace before, separator and after with elements that you’d want to show up when showing the tags.

    NO ONE gives and example of what to use instead of before, separator and after. I have NO idea what this means! What elements would should up in each post/page?

    I keep reading this phrase all over the net. Please, an example. Cos when I paste the code as is, I get a nasty error msg.

    Thanks!

  7. Jenny, it’s really simple. “Before” is just what you want to appear before the tags. Separator is what comes between them, like a comma and a space. After is anything you want after the tags.

    the_tags(‘before’, ’separator’, ‘after’);

    Becomes

    the_tags(‘Tags: ‘, ‘, ‘, ”);

  8. I’m itching to make the switch to 2.3 as well, and while I know that 2.3 can import UTW tags, does it convert UTW tags associated with posts to the new system? If not, how to do it?

  9. @K’ (#7) thanks for that information. Unfortunatelly the wp_title(”) only outputs one tag.
    Like URL /tag/foo/ gives the output foo.
    But URL /tag/foo+bar/ also gives only foo.
    So right now there seems to be no propper replacement for UTW_ShowCurrentTagSet

    Any ideas?

  10. I’m trying to follow the instructions here, but I seem to have hit a snag. I don’t have anything on my Export menu that exports UTW. I’m running the latest version of UTW (I think, it’s version pi) and yet I’m not finding anything that seems to import the tags over to WordPress. Am I crazy or blind? Anyone got a solution?

Comments are closed.