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

Check Also

Zong 7 Rupay Main 7 GB 3G Internet Offer

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

Telenor Easy Card Offer in Rs 300 Free SMS, Calls, Internet

Telenor Easy Card Offer is yet another package comes up from Pakistan’s 2nd largest mobile ...

Google Chrome Latest Official Full Standalone Offline Installer

Google Chrome is one of the best browser in the world. Millions of peoples are ...

Subscribe Glow 2.0 Package

Glow 2.0 is a stunning offer comes up from warid telecom. By subscribing the 2.0 ...

5 Best Contact Form Plugins for WordPress

Contact form helps your readers to contact with you.There are 1600+ Contact Form Plugins available to ...