How to Convert UTW to WordPress 2.3 Tags in Current K2 Based Themes?
If you are new here, Subscribe to Full Feeds or by Email or follow us in Twitter and receive free daily updates on Office and Windows Tips, Tricks and Tweaks..
Its been couple of months since WordPress 2.3 was released. That was the time when WordPress Native Tagging System was introduced. Since I did not have time in hand, I decided to follow Ultimate Tag Warrior (UTW). But now WordPress 2.5 is soon to be released and I did not want to complicate things in the future so I decided to upgrade my tagging to WordPress tagging system. The main reason is that now Windows Live Writer supports WordPress Native Tagging and I wanted to use that feature.
It was much simpler than I thought. Since I am using my modified version of K2 theme, I thought it would be helpful for K2 theme users who still have not moved to WordPress Native Tagging.
Two important functions that you may be required to know about Native tagging are the_tags and wp_tag_cloud. These correspond to UTW_ShowTagsForCurrentPost and UTW_ShowWeightedTagSetAlphabetical from UTW tagging.
The general usage of these functions can be see here
[code='php']
Example
'); ?>
For Cloud limited in size and ordered by count rather than name
[/code]
In case you are using other themes than K2, you can search for these and try to figure out how to change. You can refer to the usage of these functions for more – the_tags & wp_tag_cloud.
In K2 based theme, these are the changes you may be required to do.
First in theloop.php change the following code (In other themes the similar code may be in index.php or single.php)
[code='php']
[/code]
to
[code='php']
[/code]
and in page-archives.php change the following code
[code='php']
[/code]
to
[code='php']
[/code]
You can add the functionality of native tagging by using Wordpress Things plugins from Christine.
Tag Suggest Thing
Embedded Tag Thing
Tag Managing Thing
Inline Tag Thing
Note: Before importing its wise to take a database backup!
To import the old UTW tags to the native wordpress tags. Click Manage -> Import -> Ultimate Tag Warrior. Follow the steps its fairly simple and its very quick.
















































/hides
I have a plugin for that!. Although I see it’s not linked from the main WordPress Things page.
I’m jus’ gon’ fix that…
[...] matter of importing the tags into the new db schema, then updating my theme. I followed this blog post as a [...]