Streamlining 26 (soon to be 30) template files
I’m had no idea that getting a customised, invidiual category would be a costly as almost 30 template files. I’ve had to multiply the existing template file by 4 or 5 in order to carry out the individual style for each category.
Surely there’s an easier way to do this – WP has given me the freedom, but not the management (as far as I know, please tell me otherwise) of having so many template files.
Is there a way I can get all these files down to a handful?
Right now I have multiples of:
index.php > category-x.php
sidebar.php > sidebarx.php
header.php > headerx.php
styles.css>categoryx.css (I know not a t emplate file, but still!)
And soon I will be adding single.php, and I hope to God I don’t have to do the same to get the archives looking individual by creating multiple php files. Perhaps I’ve made this a lot of work for myself, and gone the hard way about it it, but I don’t know an easier way and one hasn’t been highlighted.
Hope someone can help.
- The topic ‘Streamlining 26 (soon to be 30) template files’ is closed to new replies.