Home / Uncategorized / How to Make Remember Me Box Always Checked in WordPress

How to Make Remember Me Box Always Checked in WordPress

Its very irritate when we try to login WordPress admin area and suddenly login page appears because of we forget to check the “remember me” check box. Remember me option is so useful If you have your own PC because you don’t need to enter a password again and again. Many times we enter the password and forget to check the box so when we exit the browser and come back after the short time WordPress will again require a password to proceed the admin panel.By checking the remember me check box. It will remember you and extend the cookie expiry time more than 14 days and without checking the box it will keep you login only for todays.

You should also read: How to Add User Password Generator in WordPress

In this article, We will trying to explain you how to always check the “remember me” checkbox in WordPress. You can do this job through two ways.

  1. Add a code in Function.php file
  2. Install “Always Remember Me” Plugin

Check Remember Me Box Through “functions.php” File

To add this option without using the plugin. Just go to Appearance > Editor and open functions.php file and add the below code. Remember don’t add the code in the center of any function and make a backup of this file before the editing.

add_filter( ‘login_footer’, ‘always_checked_rememberme’ );
function always_checked_rememberme() {
echo “<script>document.getElementById(‘rememberme’).checked = true;</script>”;
}

Check Always Remember Me Box Through Plugin

First of all download, install and activate the plugin. There is no need to setup this plugin. This plugin is auto configured just like plug and play. This function is only useful for you if you have your own PC. Public computers and networks can create a problems for you and you need to uncheck the box before logging in.

always-remember-me111 (1)
We hope you’ll like this article, What your views about this plugin let us know by giving the comments below. Your Feedback is precious for us.

Comments

comments

About tahir

Muhammad Tahir lives in Lahore, Pakistan. Loves to read and write articles about tech and web resources online.

Check Also

EasyPaisa ATM Card Full Details

EasyPaisa ATM Card is the best choice for those who want to get their own …

Bitcoin is Fraud and Blow Soon – Jamie Dimon Predictions

JP Morgan’s boss Jamie Dimon said that Bitcoin is a fraud sooner or later it …

Fix Mirror or Upside Down Videos Easily : How to Rotate or Flip

Sometimes we make a video through our smartphone and when we play it on our …

Bitcoin Cross the limit of 4000 Dollar

Virtual currency bitcoin recently faced Hard Fork problem because its block chain touches his limits …

Top Online Prepaid Cards Providers 2017

Credit/Debit or Prepaid Cards makes our life easier than ever whether we shop online or …