Posts: 3,987
Name: Abel Mohler
Location: Asheville, North Carolina USA
|
The way I sometimes do it, is I have a unique variable identifying the page. Sometimes, if I have pages with certain themes that are the same, I will also have a theme variable identifying which theme it is. I then use these variables as hooks in the PHP, and also as classes (I put $page as a class on the body, and $theme in the various includes, wherever is appropriate).
__________________
I build web things. I work for the startup Please login or register to view this content. Registration is FREE
.
|