In previous posts, I looked at excluding a category from the main page of WordPress blog and displaying posts from a particular category without going through The Loop.
This time around I’m going to look at something simpler: customising blog categories.
Generally, WordPress themes handle posts in all categories equally. But what if you wanted to one particular category to have a different look?
Why?
Well, at the simplest level you could use this to change the look for posts in a particular category. Posts in a category featuring your favourite game could feature a header with graphics from that game and text could make use of in-game fonts, for instance.
You might also use this to have WordPress treat posts in one category differently from the rest. Perhaps the Pix category showcasing your photos could only show one photo per page. Perhaps the Asides category (featuring brief Twitter-style observations) could only list the contents of the last 20 posts per page.
Those are a couple of why’s; now for how.
Continued…
