How to get post tag?
-
Hello everyone…
I have some posts which I assigned a tag to each of them to recognize when I do in a template:
loop…
echo ‘<div class=”blahblah”><a href=”‘; echo get_page_link(xxx); echo ‘&focus=’; echo the_tags(); echo ‘” alt=”‘; echo the_title();….
end loop…using the_tags() I thought it would return the tag I assigned to that post but I get something like “Tags: blah blah….”
How I can get the single tag I assigned to the post??…Thanks in advance to all!!
Luigi
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘How to get post tag?’ is closed to new replies.