-1

I have wordpress website and i want to enable "remember me" checkbox on login forms by default because lot of user would like to login all the time until they will delete cookies. If the user does not want to be remembered, they can just uncheck the checkbox.Even i tried plugin (don't remember plugin name) but that plugin starts crashing my website. Is there any code to solve this problem?

0

Check this link: https://codex.wordpress.org/Function_Reference/wp_login_form

If you use <?php wp_login_form( $args ); ?> in the arguments array just make remember from false to true

Like the example: 'remember' => true,

Note that the default value is true.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.