Adding WordPress 2.3 Tags to a Theme
Matt Mullenweg linked to a post on Aiming for Independence about adding the new tags to your WordPress theme.
Thankfully, much like categories, it is a simple adjustment, requiring only another bit of WordPress specific template code.
>?php the_tags(‘before’, ’separator’, ‘after’); ?<
I, for one, am glad it is so simple to implement and I hope most theme makers will update their themes to include this functionality.
My biggest question is “what will happen if we take the newly updated theme, and place it on a blog running a previous version of WordPress?”
Is there some way to check which version of WordPress is being run, or will we have to put out a WordPress 2.3 only version of each and every theme?









can’t the theme designer wrap it in an “if function exists” thingie?
>?php
if function_exists( the_tags() ) { the_tags(); }
?
The sad part is, I knew about using that for checking for plugins and everything, but I didn’t even think to use it to check to see if a core feature was there…
Thanks all (I feel really dumb now).
I’m in the process of making a plugin that will make the template tags for UTW work with the wordpress 2.3 tag store; so themes that were using UTW will be able to keep on working with only a little bit of pain (:
Great post! May i share on my website? http://www.ebookee.com
^_^欢迎访问我的小站。长春策划的小站
Great post! May i share on my website? http://www.sinoblog.org
^_^欢迎访问我的小站。网匠的小站