How to develop a theme while having another show up

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…

Read More

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….

Related posts

Leave a Reply

4 comments

  1. Based on this question

    <?php
    /* SWAP THEME ACCORDING TO USER */
    function wpse50258_change_theme( $template = '' ) {
        global $current_user;
        get_currentuserinfo();
        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');
    

    [UPDATE]

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

  2. 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.