When logging into your WordPress admin you will notice an optional checkbox which says “Remember Me”. This is a useful feature because when checked WordPress will now keep you logged in after you leave the website. What can be annoying about this feature is that you need to remember to check it every time you log into your site. Luckily this can be solved easily.
Install the Remember Me WordPress plugin
Download and install the Remember Me WordPress plugin on your website.
Go to Settings > Remember Me.
On this screen you can configure how long WordPress will now remember you and which logins to use it for.