34 responses to “Tag descriptions in WordPress 2.8”

  1. ben_

    Now just add the feature to make the comment-able and give them unique IDs in the same line as post and pages … and voila … you got almost got a Topic Map inside Worpdress.
    http://en.wikipedia.org/wiki/Topic_Maps

  2. Matthew

    It seems so simple, wonder why it wasn’t there when tags were added.

  3. ben_

    @Justin: Sure. Giving them a description is just another step of moving them from Meta-Data to Meta-Content. Making them commentable and having only one zentralised ID-System for Posts and Tags (eg. Topics) are further steps, although you don’t need them to create a topic map.

  4. david

    Good to know this is coming. I was just thinking that it would be nice to have around. Though I doubt I’ll be disciplined enough to give descriptions to all my tags.

  5. paquetes roatan

    Simple. Good to know. Thanks.

  6. Mary-Ann Horley

    I’m just updating my theme in preparation for 2.8, and I’m wondering if there’s a way of adding links and images to tag descriptions (and category descriptions)?

  7. wordpress lovers

    I too wanted this feature, I am now looking forward to write excellent descriptions for my tags.

  8. Mary-Ann Horley

    Thanks very much Justin!

  9. 10 Cool WordPress 2.8 Hacks and Tutorials to tinker with - Daily SEO blog

    [...] 4. Tag descriptions in WordPress 2.8 [...]

  10. eddai

    sorry..a bit out of topic but could you please let me know how you make that questioned mark mouse cursor when hovered over an abbreviation word ?
    Best~

  11. Extensive Wordpress 2.8 Getting Started Guide | tripwire magazine

    [...] Get more details here on how to use Tag descriptions in WordPress 2.8 [...]

  12. WordPress 2.8: Features, Tips and Tricks from the experts — gunnerpress.com

    [...] Tag description in WordPress 2.8 —Justin Tadlock [...]

  13. Wordpress 2.8 Tips and Tricks

    [...] Tag Descriptions in Wordpress 2.8 [...]

  14. Not A Niche

    Great explanation of tag description! wpSEO http://wpseo.org has already implemented this feature in their plugin to improve SEO on your WordPress installation.

  15. Useful WordPress Tutorials « Professional Free Wordpress Skins

    [...] The New Widget API is a very good tutorial if you plan to create a widget for your new WordPress. * Tag descriptions in WordPress 2.8 will teach you how to add descriptions to your tags and answer the question why you should add them [...]

  16. AIR

    Thanks! I use tag description in some other way. It’s a good possibility to place affilate link here :)

  17. New And Comprehensive Wordpress 2.8 Tutorial and Hack Toolbox | Graphic and Web Design Blog - Inspiration, Resources and Tools

    [...] 33.Tag descriptions in WordPress 2.8 [...]

  18. New And Comprehensive Wordpress 2.8 Tutorial and Hack Toolbox - Programming Blog

    [...] 33.Tag descriptions in WordPress 2.8 [...]

  19. Josh

    Thanks for the meta description explanation! I had no idea how to do that and found you on a Google search. You’re the man!

  20. arabist

    Thanks for the post, Justin. I noticed that when entering descriptions in admin, you can’t put in an image (img src…) link. Wordpress appears to strip them immediately, independently of the theme (so the solution you mentioned, involving the themes functions.php file, doesn’t work.)

    Any thoughts on allow some limited HTML, such as a, img, blockquote etc.?

    Thanks!

  21. Nebulizadores

    Thanks very much Justin, very useful information .

  22. Qurtubhy

    ist must use quote in description tag ?

  23. Richard

    remove_filter( 'term_description', 'wp_kses_data' ); is needed to allow full html in tag descriptions in 2.9

  24. ben corke

    I wonder if there is a way to automate the tag description using boilerplate text and hooks to the tag name.

    i.e. This is a list of all the posts for %tag%. We love %tag%. We dream of %tag%.

    not sure if this would count towards duplicate content issues or not – doubt it if the text is short…

    Ben

  25. Epiphora

    This is awesome. Thank you so much for it. I really want to get images showing up, but something isn’t working right. I added the code you mentioned to functions.php, and the images show up inside WP when I edit the tag, but they don’t show up on the page. Any idea why?

  26. Ralf

    Hi,

    remove_filter( ‘term_description’, ‘wp_kses_data’ )
    is working well for strong or italic, but I like to use in the description. Do you see any way to manage this?

    Ralf

  27. Ste

    Hi,

    I use tag descriptions on my site to great effect. The one problem i do have, however, is that it seems to strip some of the html tags.

    If the text is more than one paragraph it strips all the tags except for the first and last, and replaces them with instead.

    Do you know any way around this?

    Thanks!

  28. Matt Halfhill

    I have been building out my tag.php in my template to offer as much relevant content as possible when an incoming reader lands on this page. Something I wanted to do was provide a picture as well as brief writeup about the topic of the tag.

    I hacked the functions.php so that I could input images, links, paragraphs, and other HTML into this field, but when I call it via , all i get is just the stripped down text.

    I have added the remove_filter( 'term_description', 'wp_kses_data' );, but no dice.

  29. KnockOut

    You can use full HTML in your tag descriptions by adding the following to functions.php

    remove_filter( 'pre_term_description', 'wp_filter_kses' );
    remove_filter( 'term_description', 'wp_kses_data' );

    It worked for me!

Leave a Reply

By submitting a comment here you grant this site a perpetual license to reproduce your words and name/Web site in attribution.

Please use your real name or a pseudonym (i.e., pen name, alias, nom de plume) when commenting. If you add your site name, company name, or something completely random, I'll likely change it to whatever I want.