Starting from the end…
Is there a way to add the dropdown window into the overall template that would stay in place no matter what theme you go to?
No, there isn’t.
Which theme switcher? I’ve seen more than one…
(I never edit template files in the online editor – as other mortals, I tend to forget to change the permissions back, leaving the whole install wide open for any hacker idiot)
mm, good point on permission. I may have to rethink that bit. In the mean time, I’m using the top theme switcher from the link in my post. It is claimed to be authored by one Mr. Peer. I tried to look into the file for a bit more clarification but all I get is that it comes froma 386a.net. If you know of one that works and well, I’d be more than happy to cash this one in for another.
I know about this one:
http://dev.wp-plugins.org/wiki/ThemeSwitcher
but I didn’t use it for a long time. Try it. This one is by Ryan Boren.
I have downloaded it, I will get back to you.
EDIT: interesting results so far. It works, but displays all thethemes in my libray. In th event I turn it offbut don’t comment out the code, it stops the background image on my page. It’ll be usable after I have cleaned up my thme library.
1. That’s the idea: it displays all the existing tehems and visitors can pick one. Due to the cookies your blog will remember what was the selected theme for ABC user and it will show your blog “dressed” like that.
2. Use this little code always for plugin tags – so that in case of deactivating they don’t break your blog:
<?php if (function_exists('wp_theme_switcher')) { ?>
<li><h2><?php _e('Themes'); ?></h2>
<?php wp_theme_switcher(); ?>
</li>
<?php } ?>
or whatever is appropiate for your design. The main thing is the first and last line!
Thanks for the bit of code. I will add that.
The reason I thought it was odd that it showed them all was because the first plugin I was using actually had a nice little feature that allowed me to select which themes were viewable. So if I had, for example, a black and white version of the same theme but wanted to add a grey one. I could add it to my theme library, work it over a bit. Then add it to the drop down.
I may play around with some different theme selectors out there.
Thanks again for the code though, that will be very useful