How to add tag support to a WordPress theme

The current theme that is running this “Erratic” blog did not come with support for tags. I wanted to add tag support to each blog post since I love using tags and tag clouds. Thankfully this is a simple thing to add.

Get to the editor section for your theme and select the single post template. Scroll to the portion of the PHP code that you want to edit, for me it was after the content section.
Insert this line of code: <?php the_tags('Tags: ', ', ', '<br />'); ?>

That’s it! Check out a blog post and see how it looks… of course you will have already had to tag the blog post. If you don’t like how it looks, experiment with placing the code in different places until you find the right spot for it on your WordPress theme. You’ll notice I place it at the bottom, underneath the Google Ads.

Advertisement: article continues below

There are no comments yet. Be the first and leave a response!

Leave a Reply

Wanting to leave an <em>phasis on your comment?

Trackback URL http://erraticblog.com/2010/05/how-to-add-tag-support-wordpress-theme/trackback/
About
Hi, I'm Steve... an eCommerce merchant that writes about eCommerce, advertising, marketing, blogging, design, social media, seo, tech and other randomness.Read more »

Headway Themes – The Drag & Drop Theme For WordPress