Displaying Titles on Category Pages
Stuart again.
This time, he writes a neat little tutorial to explain how to display the name of the category as the title on category pages.
He writes :
There are a few “functions” that already exist in WordPress which can be put to good use if you know about them.
Oh yes. There are are quite a few Template Tags that I have rarely, if ever, seen used. The reason could be that most users, including your’s truly, are, for the most, satisfied with what’s in the default WordPress weblog, in terms of template tags.
This tutorial, by Stuart, does a good job of explaining how to check if the page displayed is of a kind (a category page in this case) and to display something only on those pages. The forthcoming version of WordPress will have more “markers” like $cat, for pages, to help in the identification of the kind, or type of page being displayed. Just so you can customize your pages all you want.
4 Comments »
RSS feed for comments on this post. TrackBack URI

Good on that man!
Comment by Hanni — 8/20/2004 @ 6:46 am
WordPress 1.3 will have is_category(), is_date(), is_single(), is_archive(), is_author(), is_search(), is_feed(), and is_home().
Comment by Ryan Boren — 8/20/2004 @ 7:45 pm
Thanks, Ryan.
Comment by Carthik — 8/20/2004 @ 7:54 pm
[…] Hat tip: Wordblog […]
Pingback by Showing category titles in WordPress — 10/17/2007 @ 8:52 am