WordPress 2.3 native tagging support

October 1, 2007 9:52 am | In Tech

Why tagging if you already have category system? I like to think the blog as a book: categories are like the table of contents, while tags are the keyword index in the appendix. These two are complementary and you obviously use both of them. Vendor catalogs and academic journals often have similar two systems as well.

If your WordPress theme does not support native tagging, here are two templates to save you:

  • Show tags after blog entry. Insert the following at an appropriate location (reference)
    <?php the_tags( '<p>Tags: ', ', ', '</p>'); ?>
  • Show tag cloud. Add the following in the sidebar (reference)
    <?php wp_tag_cloud(''); ?>

Tags: , ,

4 Comments »

RSS feed for comments on this post.

  1. 我居然不知道,还用了xoops的,很垃圾。不过我的wp好像是2.2的:(

    Comment by dreamer — October 3, 2007 9:19 am #

  2. XWordpress没人升级 :’(

    Comment by dreamer — October 3, 2007 9:33 am #

  3. cmft… wp 2.3 的 tag_cloud 模版一般… 其实现在用别的也挺好,慢慢换…

    Comment by atppp — October 3, 2007 9:48 pm #

  4. 在Trac中看到acore了,拜

    Comment by pizza — October 27, 2007 9:06 am #

Leave a comment

XHTML: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

This weblog is licensed under a Creative Commons License.
Powered by WordPress. Theme based on Pool by Borja Fernandez.