I'm going to launch my own "free WordPress themes" site wpmix.com and I would also like to have a live demo (test run) for each theme. I'd like to work the demos on another Wordpress installation in folder wpmix.com/wpdemos/ However, the problem is I don't know how to get it working. I don't want to install new Wordpress for each of my themes. That would take too much time and too many databases... I think it's possible to get the demos working with the URLs like e.g.: http://wpmix.com/wpdemos/index.php?wtheme=bluesense http://wpmix.com/wpdemos/index.php?wtheme=techdesign But this doesn't work. I have the themes uploaded in the wpdemos folder and I've also installed the "Theme Switcher" plugin (downloaded from wordpress.org). So in the default theme on wpmix.com/wpdemos/ you can change themes, but I need exact URL for demo of each theme, so that I could link to particular demos from other sites. Anyone could help me to get this working? Rep+ will be added. P.S. I think PHP forum is the be the best for this thread, as the theme switcher plugin is a .php file and some work in PHP needs to be done to get this working.
The name of the theme is case sensitive. The name of the actual directory is what is put after the equals sign, for example in http://wpmix.com/wpdemos/index.php?wtheme=TechDesign, the theme name is TechDesign and case sensitive. Spaces are put as a + for example WordPress+Classic
Thank you. So e.g. these links should work now: http://wpmix.com/wpdemos/index.php?wtheme=TechDesign http://wpmix.com/wpdemos/index.php?wtheme=BlueSense http://wpmix.com/wpdemos/index.php?wtheme=Orange+Sunset http://wpmix.com/wpdemos/index.php?wtheme=Deserted+Theme But it doesn't work. It still loads with the same theme for me.
Hey there andrej. I am trying to do the same thing. What I noticed is that the http://dev.wp-plugins.org/wiki/ThemeSwitcher plugin does not seem to work with WP 2.2.1 version. I may be wrong but it does not work for me with the current WP version. If anyone knows a quick fix for the plugin please let us know here. I would be interested in know how to get this to work too.
I already got this problem resolved. It didn't work because I've misspelled the links! Check the links above and you'll see that I've typed wtheme and not wptheme. And it works with Wordpress 2.2.1 for me.
your links on your site still don't work for me. I tried all of them and the only theme I saw was the default wpmix theme.
What browser do you use? It works for me in Firefox and Opera, but I just noticed today that it doesn't in my IE6. And that's not good, as most surfers use this browser.
Yeah I'm using Firefox. It doesn't work for me in Firefox anymore either. Someone said the workaround is to upload the same php files to each theme's directory.
No, that's not necessary. All you have to do is to upload the Theme Switcher plugin into the plugins directory and activate it. These links work for me in Firefox and Opera: http://wpmix.com/wpdemos/index.php?wptheme=TechDesign http://wpmix.com/wpdemos/index.php?wptheme=BlueSense But it doesn't work in my IE6. It also has something to do with cookies. I think you need them enabled.