WordPress: Required Password at Register Form

By default, WordPress dont have function to allow users choose their own password when registering on your blog. For security purpose, Password will be mailed to your registration email, but sometime users dont change their password at the first time they log in to your blog; the result is they will forget it or hard to find the password in mailbox. If you want to let them choose their password, you have to write some code to add Password fields to your blog register form. Here its:

// Add Password, Repeat Password fields to WordPress registration form

add_action( 'register_form', 'ab_add_password_fields' );
function ab_add_password_fields(){
?>

add( 'passwords_not_matched', "ERROR: Passwords do not match" ); } if ( strlen( $_POST['password'] ) < 8 ) { $errors->add( 'password_too_short', "ERROR: Passwords must be at least eight characters long" ); } } ?>

I created a Free Plugin called Wp-Register-Password. You can download here.

Hope this help.

3 Replies to “WordPress: Required Password at Register Form”

  1. Google will penalize you when you place too many ads or graphics at the top of your web pages (“above the fold”). T professionals, seo professionals are lesser in the market. Adding a photo has nothing to do with content quality.

Leave a Reply

Your email address will not be published. Required fields are marked *