How to Display or Show Post Tags in WordPress Blogs?
Post Tags, a real good feature of WordPress when compared to blogger. The good thing about these post tags is that Google also indexes the tags along with other links i.e., it treats the tags as links.
Many a times wordpress templates come up with in-built feature to show either individual post tags or “tag cloud” in the single post pages. But some themes (like techzene.org) by default do not come with showing post tags on single post pages. In such cases, we should add the script manually to our template to enable showing the wordpress post tags.
Add any one of these following codes to your “single.php” file with in The Loop. [You'll find "single.php" in "Editor" tab under "Appearance" Menu]
- Option A : To Separate Tags by Comma
- Option B : To Separate Tags by Arrows
<?php the_tags(‘Social tagging: ‘,’ > ‘); ?>
- Option C : To Show tags as lists
<?php the_tags(‘<ul><li>’,'</li><li>’,'</li></ul>’); ?>
<p><?php the_tags(); ?></p>
Don’t forget to back up your template before you make any changes (Just in Case).
Incoming search terms:
- display tag in single twentyten
- how to get tags at end of post wordpress
- display post tags
- wordpress display tag list in editor
- wordpress display tag in editor
Share This Article
Get Free Email Alerts
And, Next Confirm Your Email Subcription
2 Comments to “How to Display or Show Post Tags in WordPress Blogs?”
Thanks for the tip
[Reply]
Hey thanks a lot
[Reply]