Theme Switch and Preview

Allows admins or all visitors to switch the blog theme. Has a restricted preview mode for your clients and includes a widget.

Author:Nicolas Kuttler (profile at wordpress.org)
WordPress version required:2.7
WordPress version tested:3.0.5
Plugin version:0.9.0.3
Added to WordPress repository:08-10-2008
Last updated:16-07-2010
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:70
Rated by:4
Plugin URI:http://www.nkuttler.de/nkthemeswitch/
Total downloads:45 873
Active installs:300+
plugin download
Click to start download

The plugin is great for theme development as you can tweak the template online without breaking stuff for visitors. You can also use it for presentations, to show off various templates. There is a widget and a theme cloud shortcode to make this easier.

This plugin has three basic configurations:

  • Only admin: This is useful for theme developers and to preview themes on live sites.
  • Only with passkey: Send your clients preview links. They won't need an account on your blog for this to work.
  • Everybody: Theme switching for everybody.

Usage

The easiest way to use this plugin is to drag the widget into one of your sidebars.

There is as well the shortcode [nkthemeswitch]. Examples:

  1. [nkthemeswitch] This displays the theme switch cloud as text links.
  2. [nkthemeswitch mode="screenshot"] This displays the switch links with screenshots.
  3. [nkthemeswitch mode="screenshot" addname="yes"] This displays the switch links with screenshots and the theme name.

Using the switch cloud in your theme

You can call the function nkthemeswitch_cloud() from your theme to get the theme switch cloud. Example:

if ( function_exists( 'nkthemeswitch_cloud' ) ) {
    echo nkthemeswitch_cloud( $target = '_blank', $passkey = false, $screenshot = false, $addname = false );
}

Parameters:

  • target: link target attribute
  • passkey: add the passkey to the links. This might be useful if you use passkeys.
  • screenshot: display screenshots instead of name
  • addname: add theme names to screenshots

My plugins

MU fast backend switch: Switch between your MU blog backends with one click

Visitor Movies for WordPress: Did you ever want to know what your visitors are really doing on your site? Watch them!

Custom Avatars For Comments: Your visitors will be able to choose from the avatars you upload to your website for each and every comment they make.

Better tag cloud: I was pretty unhappy with the default WordPress tag cloud widget. This one is more powerful and offers a list HTML markup that is consistent with most other widgets.

Theme switch: I like to tweak my main theme that I use on a variety of blogs. If you have ever done this you know how annoying it can be to break things for visitors of your blog. This plugin allows you to use a different theme than the one used for your visitors when you are logged in.

Zero Conf Mail: Simple mail contact form, the way I like it. No ajax, no bloat. No configuration necessary, but possible.

Move WordPress comments: This plugin adds a small form to every comment on your blog. The form is only added for admins and allows you to move comments to a different post/page and to fix comment threading.

Delete Pending Comments: This is a plugin that lets you delete all pending comments at once. Useful for spam victims.

Snow and more: This one lets you see snowflakes, leaves, raindrops, balloons or custom images fall down or float upwards on your blog.

Fireworks: The name says it all, see fireworks on your blog!

Rhyming widget: I wrote a little online rhyming dictionary. This is a widget to search it directly from one of your sidebars.