Switching Themes with PHP |
Switching Themes with PHP |
![]()
Post
#1
|
|
![]() ^ Mrs. Jonas ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 592 Joined: Apr 2005 Member No: 263,313 ![]() |
The closest I got when searching was this, and it didn't help.
I'm working on another website, and want to be able to switch themes, and like Heather had said, switch it on all pages. It's NOT wordpress, by the way. I have header.inc and footer.inc, and then index.php which includes both. I know that I can make header2.inc and footer2.inc, but I don't know how to make some sort of dropdown where you can choose whether you want theme 1 or theme 2, and how to make it include the appropriate header and footer. I tried googling it, but only came up with Wordpress and B2 hacks, which isn't helping me at all. |
|
|
![]() |
![]()
Post
#2
|
|
![]() creepy heather ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 4,208 Joined: Aug 2004 Member No: 41,580 ![]() |
oh, mel, i bookmarked the site i got my code from!
http://textpattern.org/tips/328/style-switcher-non-plugin |
|
|
![]()
Post
#3
|
|
![]() i lost weight with Mulder! ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Designer Posts: 4,070 Joined: Jan 2005 Member No: 79,019 ![]() |
QUOTE(Heathasm @ Dec 6 2005, 4:12 AM) oh, mel, i bookmarked the site i got my code from! http://textpattern.org/tips/328/style-switcher-non-plugin i love you heather! ![]() i am so doing this after finals! |
|
|
![]() ![]() |