WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

The title is the question : How to develop a theme while having another show up

I already have a DB and a theme.... i like, when log as admin see another theme... just for the time making it clean and final... and then, remove the old one and have the new one able to be see for everybody...

any plugin that do that ?

some research and result : http://wordpress.org/extend/plugins/theme-test-drive/ and http://wordpress.org/extend/plugins/nkthemeswitch/

not sure what it's worth....

share|improve this question
Guys, come on! Four answers and the only up vote is from me? Vote Early, Vote Often! – toscho Apr 26 '12 at 2:39
up vote 0 down vote accepted

I used this one a while ago and it worked. Hasn't been updated in a while...but should still work.


share|improve this answer

Perhpas you can keep the theme live you want others to see and for your self use url theme switcher to switch theme like : `


replace www.you_site.com with your own site url.

share|improve this answer

Based on this question

function wpse50258_change_theme( $template = '' ) {
    global $current_user;
    if ( $current_user->user_login === 'YOUR-USER-NAME' ) {
        $template = 'twentyten';
    return $template;
add_filter('template', 'wpse50258_change_theme');
add_filter('option_template', 'wpse50258_change_theme');
add_filter('option_stylesheet', 'wpse50258_change_theme');


PS: this only works if fired from a plugin, not from functions.php

share|improve this answer

You can clone the site to your computer (running XAMPP or some other local server software) and work locally while developing the new theme. When it's tested and ready, upload the new theme and make the switch.

Alternately, copy the site to a subfolder and use that or a subdomain like dev.yoursite.com to develop. Usually you'll want to use a plugin like Maintenance Mode to hide the dev site.

I use BackupBuddy for moving the site down and back up. It's a bit faster than a manual move, but neither is particularly hard.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.