Created
March 21, 2017 20:24
-
-
Save marcosnakamine/84980d0e563bbefa343704b1ebe4d3e3 to your computer and use it in GitHub Desktop.
WordPress - Show login form in custom page
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 | |
wp_login_form( array( | |
'redirect' => home_url(), | |
'label_username' => 'User', | |
'label_password' => 'Password', | |
'id_username' => 'user_login', | |
) ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment