How To Turn Off Automatic Logouts in WordPress

All WordPress websites will automatically log you out after a certain amount of time.  I generally like this feature as a security measure.

But what if you have a site that you NEVER want to log out of (a local development site, a site that is wrapped in an app, grandma’s photo-sharing blog, etc.)?  Well, here’s your solution!

I invested some time this morning creating a simple plugin that will maintain your login cookie for 40+ years.  Download it on Github.  Hat tip to Alex Mills (Viper007Bond), who wrote the original code that I modified.

I hope you can get some mileage out of it!  🙂

Toby Cryns

Toby Cryns is a freelance CTO, expert WordPress consultant, and teacher.

He offers free advice to improve your freelance biz.

He also publishes small droppings every now and then to twitter.com/tobycryns and twitter.com/themightymo

Follow Toby's contributions on Github and WP.org.