Best Practice different design for different sections of the site
-
Do you have any recommendations for the best way to have a different look/code for different sections of a word press site?
This is my example:
I have a real estate site. It will contain 5 main sections/categories Real Estate For Sale, Real Estate For rent, Commercial, New Homes, General Real Estate
I am looking for the most efficient way to set up the templates so i can pull different ad tags, different side bars for each of those main sections/categories.
1. option is to create separate page templates for each and set up cat- templates for each, but I am worried there because I will have child categories underneath each of the parents. [ real estate for sale : real estate agents > real estate news > etc. ]
2. Would an if/then work better on the main templates? if category = pull in this include, if category = pull in this include. Would there be performance issues with that? Do I have to list all my parent and children categories or will it know that the children would be included with the parent category?
Is there another way that would be better?
Thanks for your help.
- The topic ‘Best Practice different design for different sections of the site’ is closed to new replies.