10 - Como colocar el Login en el theme de tu Blog.
Código PHP:
<?php
get_currentuserinfo() ;
global $user_level;
if ($user_level> 0) { wp_loginout(); } else { ?>
<form name="loginform" id="loginform" action="wp-login.php" method="post">
<input type="text" name="log" id="user_login" class="text input" value="<?php echo attribute_escape(stripslashes($user_login)); ?>" size="20" tabindex="10" />
<input type="password" name="pwd" id="user_pass" class="text input" value="" size="20" tabindex="20" /><?php do_action('login_form'); ?>
<input name="rememberme" type="hidden" id="rememberme" value="forever" tabindex="90" />
<input type="submit" name="wp-submit" id="wp-submit" class="submit" value="<?php _e('Login'); ?> »" tabindex="100" />
</form>
<?php } ?>
Fuente. http://www.devlounge.net