{"id":123952,"date":"2014-01-14T08:00:00","date_gmt":"2014-01-14T13:00:00","guid":{"rendered":"http:\/\/premium.wpmudev.org\/blog\/?p=123952"},"modified":"2019-04-05T00:13:58","modified_gmt":"2019-04-05T00:13:58","slug":"keep-users-logged-in-to-your-wordpress-site","status":"publish","type":"post","link":"https:\/\/wpmudev.com\/blog\/keep-users-logged-in-to-your-wordpress-site\/","title":{"rendered":"How To Keep Users Logged in to Your WordPress Site"},"content":{"rendered":"<p>Have you ever logged into a site only to be kicked out again just minutes later? It can be a real drag.<\/p>\n<p>So when creating your own WordPress site, you don&#8217;t want your users to get similarly frustrated.<\/p>\n<p>In this quick tip post, I&#8217;ll show you an easy way to keep your users logged in to your site.<\/p>\n<h3>Keep Remember Me Checked<\/h3>\n<p><a href=\"https:\/\/wordpress.org\/plugins\/branda-white-labeling\/\" rel=\"noopener\" target=\"_blank\">Branda<\/a> is a handy, versatile, and lightweight WPMU DEV plugin, and what we&#8217;ll be using today.<\/p>\n<p>The plugin automatically ticks the &#8220;Remember Me&#8221; checkbox on the login page, like so:<\/p>\n<figure id=\"attachment_124833\" class=\"wp-caption aligncenter\" data-caption=\"true\"><a rel=\"lightbox[123952]\" class=\"blog-thumbnail\" href=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2014\/01\/remember-me-checked.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-124833\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2014\/01\/remember-me-checked.png\" alt=\"Remember Me Checked\" width=\"350\" height=\"412\" \/><\/a><figcaption class=\"wp-caption-text\">Branda is a simple and essential white label plugin for WordPress.<\/figcaption><\/figure>\n<p>This helpful feature saves your users the hassle of ticking the &#8220;Remember Me&#8221; box themselves. While it may seem inconsequential, forgetting to tick the box is an easy enough thing to do. Have you ever clicked &#8220;Log In&#8221; only to regret it moments later when you remember you have forgotten to tick &#8220;Remember Me&#8221;?<\/p>\n<p>Ensuring your site automatically remembers your users and keeps them logged in will save them the headache of constantly logging back into your site each time their session times out.<\/p>\n<p>Keeping users logged in also ensures they&#8217;re less likely to forget or lose their password and hassle you for a reminder.<\/p>\n<p>Of course, it&#8217;s good to keep in mind that users who use a shared or public computer will need to log out so as not to compromise their account with you.<\/p>\n<h3>With Branda It&#8217;s Easy<\/h3>\n<p>When installing and setting up Branda activate the &#8220;Login Screen&#8221; module. Under &#8220;Content&#8221; toggle the &#8220;From&#8221; option. this will give you the option to both hide or show the &#8220;Remember Me&#8221; field and set the default value to &#8220;Checked&#8221;.<\/p>\n<figure class=\"wp-caption aligncenter\" data-caption=\"true\"><img loading=\"lazy\" decoding=\"async\" class=\"attachment-600x600 size-600x600\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2014\/01\/remember-me-checked-branda.png\" alt=\"Branda Remember Me Checked setting\" width=\"600\" height=\"360\" \/><figcaption class=\"wp-caption-text\">Change the default setting to &#8220;Checked&#8221; in Branda.<\/figcaption><\/figure>\n<p>It&#8217;s literally that easy!<\/p>\n<p>If you haven&#8217;t tried Branda, <a href=\"https:\/\/wordpress.org\/plugins\/branda-white-labeling\/\" rel=\"noopener\" target=\"_blank\">download it for free<\/a> from the WordPress free plugin repository. Yes, that&#8217;s right&#8230;free!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Have you ever logged into a site only to be kicked out again just minutes later? It can be a real drag. So when creating your own WordPress site, you don&#8217;t want your users to get similarly frustrated. In this quick tip post I&#8217;ll show you an easy way to keep your users logged in to your site.<\/p>\n","protected":false},"author":164650,"featured_media":168658,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"blog_reading_time":"","wds_primary_category":0,"wds_primary_tutorials_categories":0,"footnotes":""},"categories":[263],"tags":[11213,11214],"tutorials_categories":[],"class_list":["post-123952","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","tag-logged-in","tag-remember-me-checked"],"_links":{"self":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts\/123952","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/users\/164650"}],"replies":[{"embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/comments?post=123952"}],"version-history":[{"count":8,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts\/123952\/revisions"}],"predecessor-version":[{"id":201910,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts\/123952\/revisions\/201910"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/media\/168658"}],"wp:attachment":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/media?parent=123952"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/categories?post=123952"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/tags?post=123952"},{"taxonomy":"tutorials_categories","embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/tutorials_categories?post=123952"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}