• Hello,

    I’m looking to refresh the look of my site (Off the Dial) by implementing a new theme. I have about a half-dozen different themes I’m considering but would like to know how I can have all them available to view live so a few of us can review them and decide which one looks best.

    I don’t know if I’m explaining this properly but I’ve seen many theme sites do this where they have one dummy site and you can view different themes with the same content.

    Any thoughts?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter offthedialca

    (@offthedialca)

    OK, so I browsed around and found a thread pointing a “ThemeSwitcher” plugin. I’ve downloaded it and copied the code into a text widget in my sidebar but I just see the word “theme” and no list or drop-down. Any thoughts?

    Thread Starter offthedialca

    (@offthedialca)

    Sorry, I also added the code to my sidebar.php file. Here’s how it looks;

    backticks
    <div id=”sidebar”>
    <?php if ( !function_exists(‘dynamic_sidebar’)
    || !dynamic_sidebar() ) : ?>
    <?php if (function_exists(‘wp_theme_switcher’)) { ?>
    <div class=”boxed”>
    <h2 class=”title”>Themes</h2>
    <?php wp_theme_switcher(‘dropdown’); ?>
    </div>
    <?php } ?>

    • Themes:
      <?php wp_theme_switcher(‘dropdown’); ?>
    • <div class=”boxed”><span align=”right”><b>
      <?php wp_meta(); ?>
      <h2 class=”title”>Categories</h2>

      <?php wp_list_cats(‘sort_column=name&hierarchical=0’); ?>

    <h2 class=”title”>Calendar</h2><span class=”calendar”>
    <div align=”center”><?php get_calendar(1); ?></div></span>

    <h2 class=”title”>Last Posts</h2>

      <?php wp_get_archives(‘type=postbypost&limit=20’); ?>

    <h2 class=”title”><?php _e(‘Blogroll’); ?></h2>

      <?php get_links(-1, ‘

    • ‘, ‘
    • ‘, ”, FALSE, ‘name’, FALSE, FALSE, -1, FALSE); ?>

    </div>
    <?php endif; ?>

    </div>
    backticks

    You first need to read how to install a plugin – because the way they work is you upload the plugin to your plugins folder via FTP, then go into your dashboard and activate the plugin. You don’t throw some code into your PHP files. That’s why you don’t get anything from the “theme switcher” link.

    On the other hand – if I understand that plugin – it only allows visitors to select a theme they like from among those you have installed. I don’t think it is intended for the purpose you want to put it – although it will give you the option to change your theme while online.

    The code you have in the sidebar:

    <?php wp_theme_switcher('dropdown'); ?>

    Should allow a user to select from all the themes you have installed, but like @saurus said, you have to activate the plugin. Also, you will need to place that code in the sidebar of all your themes…otherwise your users will have to keep using the browser back button to get to your default so they can change to another one.

    You can see it in action on my site at the link below…look near the top of the sidebar. The only difference is, since I don’t have many themes installed, I’m not using a dropdown menu.

    http://educhalk.org/blog/

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Making Multiple Themes Visible for Testing’ is closed to new replies.