WordPress 2.3 | Tagged

I just modified my theme to display ‘tags’ instead of ‘categories’ along with the post heading. It was pretty simple with the built in tag-support in WordPress 2.3. While I am yet to get used to the framework, tagging came easy with the following function:

<?php the_tags(‘before’, ’separator’, ‘after’); ?>

which iterates and displays all the tags for the post separated by the ‘separator’. ‘before‘ and ‘after’ are the text enclosing the tag list. In my case they are blank.

Now that encourages me to play around with the php code, at least till I break something 😉

Facebook Comments
Amit Srivastava
 

Click Here to Leave a Comment Below 0 comments

Leave a Reply: