[WordPress] 外掛分享: Super Simple Post / Page Restrictor

首頁外掛目錄 › Super Simple Post / Page Restrictor
WordPress 外掛 Super Simple Post / Page Restrictor 的封面圖片
50+
安裝啟用
★★★★★
5/5 分(2 則評價)
3619 天前
最後更新
問題解決
WordPress 3.0.1+ v1.2.1 上架:2014-07-18

內容簡介

SSPPR 提供一種超簡單的方式來限制特定的文章/頁面/自訂文章類型。此外,此外掛會在您想限制的文章類型中新增一個勾選框。如果該勾選框被勾選,那麼該文章就會被限制 - 需要登入後才能訪問。

配置

頁面不可用文字

在這裡,您可以自定義未能訪問文章/頁面的用戶所需顯示的文字。
如果留空,預設為「這個內容目前對您不可用」。

套用至哪些文章類型?

文章類型限制的勾選框/插件將只會出現在此處所選擇到的文章類型的後台。
此外,未在此處選擇的文章類型將不受限制。如果您曾經限制某些頁面,然後在此列表中取消選擇那些頁面,那麼這些頁面將對所有用戶開放(即使您先前曾限制過它們)。

不應限制哪些使用者類型?

在此處選擇的使用者角色將永遠無法查看受限制的內容
在此處選擇的使用者角色將永遠無法查看受限制的內容,無論他們是否登錄。

預設限制?

如果勾選此選項,大多數情況下將限制自動生成的文章/頁面。
如果勾選此選項,新創建的文章/頁面應勾選其「限制內容」勾選框。

未來的發展

我希望在此掛件中新增以下功能。如果您有新增功能的建議,請透過 [email protected] 發送電子郵件給我。

添加短碼以限制內容-放置於開始/結尾短碼之間的內容將被限制
限制 RSS 源中的內容

外掛標籤

開發者團隊

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

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Super Simple Post / Page Restrictor」→ 直接安裝(推薦)

原文外掛簡介

SSPPR provides a super simple way to restrict specific post/pages/custom post types. The plugin adds a checkbox to the post type you’d like restricted. If the checkbox is checked, POW, that post is restricted –accessible only to logged-in users.
Configuration
Page unavailable text

Here you can customize the text that will be displayed to users who do not have access to a post / page.
If left blank, this defaults to “This content is currently unavailable to you”.

Apply to which post types?

The post restriction metabox/checkbox will only appear on the backend of the post types selected here.
Additionally, if post types not selected here will not be restricted. If you’ve restricted certain pages and then deselect pages from this list, those pages will become accessible to all users (even though you previously restricted them).

Prevent restriction for which user types?

User roles selected here will never be able to view restricted content
User roles selected here will never be able to see restricted content, regardless of whether they are logged in.

Default restriction?

If this option is checked, posts / pages that are auto-generated should be restricted in most cases.
If this option is checked, newly created posts / pages should have their ‘restrict content’ checkboxes checked.

Future Development
I’d like to add the following features to the plugin. If you have suggestions for added features please email me at [email protected].

Add shortcode to restrict content – content placed between start/end shortcodes would be restricted
Resctrict content in RSS feeds

文章
Filter
Apply Filters
Mastodon