What the heck is going on, you ask? Say hello to Tersus.

Bare bones? You got it. Tersus is an achingly simple WordPress theme without all the usual cruft.

Super Ginormous

This is the personal site/blog/experiment of Chris Harrison, a web designer living, working and playing in Augusta, GA.

|

09.05.2007

Tags in WordPress 2.3

Word­Press 2.3 intro­duces a new fea­ture to the pop­u­lar blog plat­form: tag­ging. Sure, you’ve been able to do it with plu­g­ins like Ulti­mate Tag War­rior in the past, but Word­Press’ built-in tag sys­tem is sim­ple, unob­tru­sive, and easy to use.

In order to get tags to dis­play on indi­vid­ual posts, we’ll use the_tags.

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

Here’s how I cur­rently have things setup:

<?php the_tags( 'Tags: ', ', ', ''); ?>

This gives me some­thing like this at the bot­tom of each post that has tags:

Tags: Tag 1, Tag 2, Tag 3

Another new tag­ging fea­ture in Word­Press 2.3 is the intro­duc­tion of wp_tag_cloud. The tag cloud takes all of your tags and dis­plays them based on how much you use them on your site. You can see a live exam­ple of it on my archives page. To get the tag cloud on your site, you’ll use the fol­low­ing syn­tax in one of your templates:

<?php wp_tag_cloud(??); ?>

Where might you dis­play the tag cloud? Well, you could put it in your side­bar, but I am not sure how system-intensive gen­er­at­ing it is… I’d rec­om­mend cre­at­ing a stand-alone page for it, or lim­it­ing the use of it on key pages only.

This item was posted by Chris Harrison.

Tags:

Categories:

You can follow comments on this item via the RSS 2.0feed.

Comments are closed.

Comments are closed.