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.
Sorry, the comment form is closed at this time.