Viewing 2 replies - 1 through 2 (of 2 total)
  • open and edit your sidebar.php at your themes used

    and copy this script where you want …. i use this at 1,5 to 2.0.1 and it working

    <! — login via sidebar !>

    <?php
    global $user_ID, $user_identity;
    get_currentuserinfo();
    if (!$user_ID):
    ?>
    <h3><?php _e(‘Login User’); ?></h3><br>
    <form name=”loginform” id=”loginform” action=”<?php echo get_settings(‘siteurl’); ?>/wp-login.php” method=”post”>
    <div><label><?php _e(‘Username’) ?>:
    <input type=”text” name=”log” id=”log” value=”” size=”20″ tabindex=”1″ /></label>
    <label><?php _e(‘Password’) ?>:
    <input type=”password” name=”pwd” id=”pwd” value=”” size=”20″ tabindex=”2″ /></label>
    <input type=”submit” name=”submit” value=”<?php _e(‘Login Me!’); ?> »” tabindex=”3″ />
    <?php wp_register(”, ”); ?>
    <input type=”hidden” name=”redirect_to” value=”<?php echo $_SERVER[‘REQUEST_URI’]; ?>”></div>
    </form>
    <?php
    else:
    ?>
    <h2><?php echo $user_identity; ?></h2>

    <?php
    endif;
    ?>
    <!– – close login——- !>

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Log-in sidebar plugin’ is closed to new replies.