This might be a long shot, but I’m trying to see if anyone had the same problem and found a solution. I’m developing a WP 3.1 site for a client that relies on tag descriptions to display some info on the tag archive page. After I found out how this field would accept basic HTML, I stumbled upon another problem.
I use the qtranslate plugin to make sure the site is accessible in both Dutch and French, and this plugin allows me to translate the tag name in both languages, but not the tag description field, which means this is always displayed in one language. I’ve tried all kinds of shortcode provided by qtranslate, without any effect.
On the wordpress.org forums I found a solution to make sure the category descriptions (which had the same problem) would be displayed in the correct language using the shortcodes:
No problem. I figured the tag_description part would be vital somehow, as it is the name of the “field” it needs to show. I don’t understand why this works for categories, but not for tags.
Thanks for the info. I’m familiar with the link you provided, I used that as a starting point. It does show my tag description, it just won’t recognize the qtranslate tags within this field (like it does for categories now).
I’m not sure how to hack this myself. I’m an absolute PHP/mySQL noob. I was thinking of maybe duplicating the description field and loading the second one in my template if FR is selected as a language, but I wouldn’t know where to start and this is not the most elegant solution in my opinion.
This appears to be more of a php problem than a content question. I’ll move the thread to php and see if you can find some more help over in their corner.