I'm running a games website and have set up a category called games.
Is there a way to have a specific category template for sub categories of the category 'game'?
I'm running a games website and have set up a category called games.
Is there a way to have a specific category template for sub categories of the category 'game'?
You can indeed have different template files for specific categories.
Have a look at the template hierarchy:
http://codex.wordpress.org/Template_Hierarchy#Category_display
As you can see, you can create a new template file named category-game.php to solve your problem.
Thanks Jeremy
I didn't realise that would capture all sub-categories :)
Got a bit to learn I think!
This topic has been closed to new replies.