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 (:
Pingback: How To Add Wordpress 2.3 Tags To Your Current Theme, Part 2 | Aiming for Independence
Pingback: WordPress 2.3 Theme Backward Compatibility | Nathan Rice
Pingback: All Night Coder - Today’s Top Blog Posts on Programming - Powered by SocialRank
Pingback: å¦‚ä½•æ·»åŠ WordPress 2.3 æ ‡ç¾åˆ°ä½ 使用的主题 - 第二部分 - WordPress䏿–‡ç«™
Pingback: 如何让您当å‰ä¸»é¢˜æ”¯æŒ Wordpress 2.3 çš„ Tags 功能 2 | Dreamcolor's Cote
Great post! May i share on my website? http://www.ebookee.com
^_^欢迎访问我的å°ç«™ã€‚长春ç–划的å°ç«™
Great post! May i share on my website? http://www.sinoblog.org
^_^欢迎访问我的å°ç«™ã€‚ç½‘åŒ çš„å°ç«™
Pingback: WordPress 2.3 Theme Backward Compatibility