tag and tag description in loop
-
Hi everybody
My question.
Developing my wordpress site http://www.victorenrich.comI want to get the description of a tag, but not in a tag page, but in the post page.
To be more precise.
I have created some post template. On the top right, I have a the_tags function that returns me the tags of the current post, in an unordered list, under a css class called <h2 class=”post_title”> which is black and bold.
here’s the code<h2 class=”post_title”><?php the_tags(‘
- ‘,’
- ‘,’
‘); ?></h2>
What I would like is that not only returns the tag name but, above each tag name, returns also the tag description, and, if possible under a css class called <h2 class=”secton_title”>
which I have it defined as light grey, boldI give you an example.
tag name 2009 tag description: year
tag name barcelona tag description: locationshould return
YEAR
2009
LOCATION
BARCELONAThat’s it…
I would really appreciate your help.
My kindest regards to all and have a nice sunday!!V
-
Sorry, the blog you linked to is not a WordPress.COM blog. This is the support forum for WordPress.COM. It seems you need to be over at support for self-hosted WordPress http://wordpress.org/support/
- The topic ‘tag and tag description in loop’ is closed to new replies.