[WordPress] 外掛分享: Log Out Password Protected Posts

首頁外掛目錄 › Log Out Password Protected Posts
WordPress 外掛 Log Out Password Protected Posts 的封面圖片
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
300+
安裝啟用
尚無評分
2159 天前
最後更新
問題解決
WordPress 4.1+ v0.2 上架:2009-06-08

內容簡介

當訪客一旦輸入密碼進入受密碼保護的文章,就沒有內置的方法讓他們“登出”。即使登錄的用戶退出帳戶,也不能從受密碼保護的文章中登出。此外掛解決了此問題,提供了一個連結,讓您的訪客可以登出受密碼保護的文章。

安裝

安裝此外掛後,請在您的主題中的某處添加以下代碼,以顯示用於登出受密碼保護的文章的連結:

<?php do_action( 'posts_logout_link' ); ?>

外掛標籤

開發者團隊

⬇ 下載最新版 (v0.2) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Log Out Password Protected Posts」→ 直接安裝(推薦)

原文外掛簡介

There is no built-in way for your visitors to “log out” of password protected posts once they’ve entered the password. Even logged in users cannot log out of password protected posts by logging out of their account. This plugin solves that problem by providing a link for your visitors to log out of password protected posts.
Setup
After installing the plugin, add the following code somewhere in your theme to display a link for logging out of password protected posts:

延伸相關外掛

文章
Filter
Apply Filters
Mastodon