Home / Uncategorized / How to Remove Remember Me Option from WordPress Login Page

How to Remove Remember Me Option from WordPress Login Page

In our Previous article we showed you that how to always logged in by checking the remember me option in WordPress login page.  This function allow you to login forever but this option can also produce the problem for you. By checking the “remember me” option on the login page you are saying that you want to stayed logged in for log time.

Stay logged in for long time can create a security risk for you because many webmasters access their WordPress site through proxy, public networks and computers. If you are a forgetful man then remember me option is so dangerous for you. What would happen? After using the public computer you forget to sign out from WordPress Admin Area. This small mistake can wipe all your your website in seconds. In this article, we will trying to show you how to remove/disable the remember me option from your WordPress login page.

There are two ways available which you can use to remove “remember me” box from WordPress login page.

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

Remove Remember me Box Through “functions.php” File

In Order to remove remember me option From the WordPress login page. You must have some understanding about html and php language. First of all login to your WordPress Admin Area. Now go to the Appearance > Editor menu. In the right side search functions.php file and open it. After making the backup paste the code into the Functions.php file. Don’t paste the code in the center of any function if you make any mistake. Then remove the previous code and try again. Always Remember before editing the any type of file make a backup of this.

//Remove “Remember Me” option from WordPress Login Page

add_action(‘login_head’, ‘remove_remember_me’);
function remove_remember_me()
{
echo ‘<style type=”text/css”>.forgetmenot { display:none; }</style>’;
}

Remove Remember me Box Through Plugin

Go to WordPress plugin directory download and activate the Remember Me Not plugin in your site. There is no need to setup the plugin just install it and it will auto removes the remember me function from the WordPress login page.

remove-remember-me-box-from-wordpress-login-page1111

 

After the activation of Remember Me Not Plugin. It will remove the remember me box from the WordPress login area. So each time when you try to access the admin area you must enter the username and password in order to proceed the admin Panel.

We hope this article helped you to remove remember me option from your site. Please share your experience, your feedback is so precious for us.

About tahir

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

Check Also

Nokia 3310 3G Price & Specs

Few months ago HMD (The Home of Nokia Phones) released again Nokia’s most popular 3310 …

Best Websites to Download and Watch Movies Online

We are all love to watch movies online there are hundreds of websites out there …

Top Ten Lord Castle Ranking – Clash of Kings – Updated 14 July 2017

In previous post i shared Kingdom 6 Top Ten Lord Power Ranking List  Here is the …

Top Ten Lord Kill Ranking – Clash of Kings – Updated 11 July 2017

In previous post i shared Kingdom 6 Top Ten Lord Power Ranking List  Here is the …

Kingdom 6 Top Ten Lord Power Ranking – Clash of Kings

There are 100 of kingdoms out there in Clash of Kings game, which is available …