Performancing Metrics

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?

Categories: WordPress News

This post was written by . You can visit the for a short bio, more posts, and other information about the author.


Comment with Your Facebook Account

14 comments on “Adding WordPress 2.3 Tags to a Theme

  1. Mary-Ann Horley on said:

    can’t the theme designer wrap it in an “if function exists” thingie?

  2. Nathan Rice on said:

    >?php
    if function_exists( the_tags() ) { the_tags(); }
    ?

  3. David Peralty on said:

    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).

  4. Christine From The Internet on said:

    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 (:

  5. Pingback: How To Add Wordpress 2.3 Tags To Your Current Theme, Part 2 | Aiming for Independence

  6. Pingback: WordPress 2.3 Theme Backward Compatibility | Nathan Rice

  7. Pingback: All Night Coder - Today’s Top Blog Posts on Programming - Powered by SocialRank

  8. Pingback: 如何添加 WordPress 2.3 标签到你使用的主题 - 第二部分 - WordPress中文站

  9. Pingback: 如何让您当前主题支持 Wordpress 2.3 的 Tags 功能 2 | Dreamcolor's Cote

  10. ebooks on said:

    Great post! May i share on my website? http://www.ebookee.com

  11. 长春策划 on said:

    ^_^欢迎访问我的小站。长春策划的小站

  12. 蓝兔 on said:

    Great post! May i share on my website? http://www.sinoblog.org

  13. 网匠 on said:

    ^_^欢迎访问我的小站。网匠的小站

  14. Pingback: WordPress 2.3 Theme Backward Compatibility

Leave a Reply

Your email address will not be published. Required fields are marked *

*

HTML tags are not allowed.

Content


Receive the top stories from BloggingPro and the Splashpress Media network every week, right in your Inbox. Relevant and timely content is yours for FREE!