Hello- I am trying to add multiple themes to my site. I would like my users to able to pick which theme is best for theme. I know it can be accomplished but I do not know how. Any suggestions would be great. My site is very very much CSS dependent in terms of design. Thanks!
Stylesheet switching is usually handled by javascript. In which case, the files are available to peruse on the net. Find a site (such as a WP demo theme site) and open up the javascript file that is used to do the switching. There are numerous scripts and tutorials out there, but most notably are: A List Apart: Working With Alternate Style Sheets A List Apart: Invasion of the Body Switchers Dynamic Drive: Style Sheet Switcher If you want the style to 'stick' for the visitor, then you will need to employ cookies. When your visitor switches styles, the cookie gets set to make note of which style was selected. Look at CSS Stylesheet Switcher using PHP (Javascript free) for information on how this is accomplished.
Thanks! I have done many searches in Google but did not know what it was called. So every time I searched I got the wrong results. This will help tremendously.
You could do it working with JavaScript to "switch" style sheets at the click of a link, store a cookie about it so they see that theme going through the whole site. But then each theme would need to have the same coding structure.
Not necessarily. If using PHP, one could have entirely different layouts altogether. Heck, with Zend Framework's layout features, it makes it very easy to do (if you are into MVC at all)