• Hey. A few days ago, I wanted to implement a style switcher on my site. A List Apart provided me with said switcher. The code you see on the ALA article is the same exact code that I used on my site. The only thing difference is that I changed some options (<option> tag) because I only have two styles. The PHP code of switcher.php was left unchanged.

    If you switch styles on my other pages, it will work, and you will see the new style applied. It also works if you change styles on my blog, but it won’t show – you have to go to another section my site to see it in action.

    Could this be a cookie confliction that’s making my blog use style_experiment.css even though one changed the style to green.css?

    Any help is appreciated!!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Rather than using an outside tool, which may not recognize the necessity of jumping from theme folder to theme folder, it might be better to use a plug-in that’s designed to work with WordPress. I use this plug-in here:
    https://boren.nu/archives/2004/10/13/theme-switcher-plugin/

    You can see it in action here, just scroll down the linklist til you find it:
    https://kickasswebdesign.com/wordpress/

    Good luck!

    Have to second kickass’s recommendation: I’ve been using Ryan’s themeswitcher since about 3 days after installing WP. It’s specific to the program, which just makes everything easier.

    If you try it and run into problems, post back…. one or the other of us will try to sort things for you….

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘ALA PHP Switch: Cookie Conflictions?’ is closed to new replies.