[WordPress] 外掛分享: Protected Posts Logout Button

首頁外掛目錄 › Protected Posts Logout Button
1,000+
安裝啟用
★★★★
4.9/5 分(13 則評價)
1127 天前
最後更新
問題解決
WordPress 2.8+ v1.4.6 上架:2012-05-15

內容簡介

這個外掛程式會在任何有密碼保護的文章內容中加入一個登出按鈕。有時候,用戶會希望以密碼保護的頁面與特權用戶共享資訊,但預設的 10 天過期時間對他們來說太長了。因此我撰寫了一個小型的外掛程式,使用 AJAX 技術並將 cookie 的過期時間設定為立即過期,實際上是過去的 10 天。

支援 WordPress 使用者登入或登出後的操作。
使用 WordPress 設定文章 cookie 的相同功能。
具有簡單易懂的設定頁面,讓所有操作更為方便。
允許您向使用者發出登出提示。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.4.6) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Protected Posts Logout Button」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

This plugin simply adds a logout button to the content of any password protected post. Sometimes clients want a password protected page to share information with privileged individuals and the default 10 days for the cookie to expire is too long for their liking. So I wrote a little plugin to do this with AJAX and set the cookie to expire immediately, well actually 10 days in the past.

Works logged in or out as a WordPress user.
Uses the same functionality WordPress uses to set post cookies.
Has a simple settings page to make everything easier.
Allows you to alert user they have logged out.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon