I’ve built a CSS style switcher hack for WordPress, you can grab it from my WordPress Hacks page.
I’ve included 3 styles plus the default style in the zip file. If you’d like to contribute a style, I’ll be happy to include it and host it here.
To see this in action, take a look at my Golf section.
The switcher uses cookies. In order for a cookie to be set in PHP, no data can have been sent to the browser yet. If you are using the hack and seeing ‘error, headers already sent…’ – you need to figure out what is starting your output early and fix it. Usually it is an extra line feed or two at the end of a file.
Just what the doctor called for, Thanks for putting it together.
It’s been on my to-do list for ages… glad to finally check it off.
Now we just need more cool stylesheets to be contributed.
WordPress CSS Style Switcher Updated
I fixed a bug in the WordPress CSS Style Switcher: some of the links it generated weren’t “clean permalink” aware in the first release. This is fixed.
Also, it should be noted that the instructions are written for WordPress 1.0+ – though t…