Created
November 16, 2016 23:41
-
-
Save robertdevore/17151d5070745ebe511829eb6bf7ec23 to your computer and use it in GitHub Desktop.
WordPress login form
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$redirect_to = ''; | |
?> | |
<form name="loginform" id="loginform" action="<?php echo site_url( '/wp-login.php' ); ?>" method="post"> | |
<p>Username: <input id="user_login" type="text" size="20" value="" name="log"></p> | |
<p>Password: <input id="user_pass" type="password" size="20" value="" name="pwd"></p> | |
<p><input id="rememberme" type="checkbox" value="forever" name="rememberme"></p> | |
<p><input id="wp-submit" type="submit" value="Login" name="wp-submit"></p> | |
<input type="hidden" value="<?php echo esc_attr( $redirect_to ); ?>" name="redirect_to"> | |
<input type="hidden" value="1" name="testcookie"> | |
</form> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment