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.



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

Caref GPS Phone Watch For Kids – Best GPS Tracker

Caref GPS Phone Watch helps parents to find out there kids from being lost. Small ...

Android or iOS Infographic Tell about Users Life Style

This Infographic Originally Posted on http://10bestresults.com    Comments comments

Top Ten Most Dangerous Lords in Kingdom 6 : Clash of Kings

Clash of Kings is the best and real time strategy game where powerful lords battle with ...

Telenor 3G Weekly Daytime Offer : 7 GB Data

Telenor 3G Weekly Daytime Offer : Pakistan’s one of the best network telenor is offering ...

Zong 7 Rupay Main 7 GB 3G Internet Offer

Zong 777 Offer: Zong 7 Rupay Main 7 GB Zong brings exciting offer for their ...