
內容簡介
您在登入 WordPress 網站時有使用「記住我」功能嗎?我知道我是有的。
當 WordPress 忘記您的登入狀態時,您是否感到很煩惱呢?我知道我是的。
「Longer Login」是一個簡單的 WordPress 外掛程式,可以解決這個問題。預設情況下,WordPress 會在14天後自動忘記使用者的登入狀態。這個外掛程式可以在您網站的「常規設定」中新增一個選項,讓您可以更改這個到期日期。選項有許多選擇,從1天到1年都有。
更改設定後,下一次您或任何使用者在登入時選擇「記住我」,WordPress 將會記住他們的登入狀態,直到指定的時間到期。
它是如何運作的?
網站為了記住使用者,會在您的瀏覽器記憶體中儲存一小塊資訊,這種資訊的名稱叫做 HTTP cookie。這些 cookies 有一個由網站指定的到期日期。
預設情況下,WordPress 網站的持久登入 cookie 在14天後到期。這個外掛程式可以更改 cookie 存活的時間長度。可以讓 cookie 在登入後存活長達1年,而非14天。
外掛標籤
開發者團隊
② 後台搜尋「Longer Login ("Remember Me" Extension)」→ 直接安裝(推薦)
原文外掛簡介
Do you use the “Remember Me” feature when logging in to your WordPress site? I know I do.
Do you find it annoying when WordPress stops remembering you after a few days? I know I do.
Longer Login is a simple WordPress plugin that remedies this. By default, WordPress automatically
forgets users after 14 days. This plugin adds an option in your website’s General Settings that
can change this expiration date. There are numerous options ranging from 1 day to 1 year.
Change the setting, and the next time you, or any user on your site logs in with “Remember Me” checked,
WordPress will keep them logged in for that specified time.
How Does It Work?
To remember users, websites store a small piece of information in your web browser’s memory.
This token of information is called an HTTP cookie. These
cookies have an expiration date specified by the website.
By default, WordPress websites have their persistent login cookies expire after 14 days. This plugin
changes the length of time the cookie will survive. Instead of 14 days after login, you can make the
cookie live for as long as 1 year after login.
