Support » Plugins » Theme Switcher Question

  • I know I’ve read of a way of doing it, but can’t quite seem to find it now, but if I want to test a new design on a live blog using the Theme Switcher plugin (the Mr. Peer version via Alex King), what do I need to add to the end of my URI to load the theme.
    To be clear, I don’t wish to make the theme available to the generally reading public by including the call, just myself. I tried adding ?wptheme=themename, but that didn’t work. And I did choose the theme in the options panel for the plugin.

Viewing 5 replies - 1 through 5 (of 5 total)
  • <?php if ($user_level == 10) { ?>
    <?php if (function_exists(“wp_theme_switcher”)) { ?>
    <?php wp_theme_switcher(); ?>
    <?php } ?>

    <?php } ?>

    No offense Beel, but you didn’t read my post. I know how to put the code into a template, which is not what I want. I know I’ve read that you can manually type in an address to load the site with another theme. That is what I’m looking for.

    No offense mikib, I did read your post but this is a more intelligent solution. It only shows the theme switcher when the admin is logged in and you don’t have to type the index.php?wptheme=Whatever+theme+you+are+testing each time (nor have to remember the full names). I use this on all the sites on which I work.

    So by your rationale, if I asked where to get a glass of water, you would give me a glass of orange juice and tell me it’s a more intelligent beverage?

    The theme I’m currently using, there’s not a convienient location for a theme switcher call. Nor did I wish to hard code it into the new theme, as I have no desire to offer it in the future, and I’m looking at over all design, space usage.
    And for the record,
    I’m not getting anything to work with ?wptheme=new+theme.

    I switched to Ryan’s theme switcher, and ?wptheme=theme+name worked.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Theme Switcher Question’ is closed to new replies.