[WordPress] 外掛分享: Restriction

首頁外掛目錄 › Restriction
10+
安裝啟用
尚無評分
760 天前
最後更新
問題解決
WordPress 4.0+ PHP 5.4+ v1.0.9 上架:2021-02-06

內容簡介

Restriction 是一個 WordPress 限制外掛程式,可以將 WordPress 網站、文章或文章中的限制內容區段限制只能供會員使用。

當非會員使用者瀏覽您的 WordPress 頁面時,將會被重新導向至註冊頁面或登入頁面,您可以在「Restriction Global Setting」面板中設置註冊頁面或登入頁面的 URL。

在「Restriction Global Setting」面板中,您可以設置開放給訪客瀏覽的頁面,訪客可以瀏覽這些頁面並且不會被導向至登入頁面。

在「Restriction Global Setting」面板中,您可以啟用「頁面保護級別」選項,如果啟用此選項,您將在頁面 / 文章編輯器中找到 WordPress 標準編輯器右上方的「只有會員才能訪問此頁面嗎?」元框。

如果您在元框中勾選了「允許所有人訪問此頁面」核取方塊,該文章將對所有訪客用戶開放
通過這種方式,您不需要總是輸入頁面 URL 來開啟頁面面板。

如果您想要開放 WordPress 網站給訪客使用,可以透過「暫時關閉所有功能」選項一鍵開啟您的網站。

如果您只想限制幾個私人內容訊息,可以使用短碼 [restriction]hi,這是私人內容[/restriction]

同樣地,您可以透過 Restriction 短碼來基於使用者限制文章的私人內容,您可以像這樣使用:
[restriction roles=’editor,administrator’]hi,這是私人內容[/restriction]
或者
[restriction roles=’editor’]hi,這是私人內容[/restriction]

如果您不想使用使用者角色限制文章的私人內容,只需使用限制短碼,如下所示:
[restriction]hi,這是私人內容[/restriction]

如何使用

安裝 Restriction 外掛程式後,請在後台點擊 Restriction 選單,我們有詳細的逐步說明,說明每個選項
如果您只想限制幾個私人內容訊息,可以使用短碼 [restriction]hi,這是私人內容[/restriction]

下載

https://www.wordpress.org/

外掛標籤

開發者團隊

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

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

原文外掛簡介

Restriction is a wordpress restrict plugin to restric wordpress site, or wordpress posts, or restricted content section in posts to non-member users.
When non-member users view your wordpress pages, they will be redirected to your register page or landing page, you can set up the URL of register page or landing page in “Restriction Global Setting” panel
In “Restriction Global Setting” panel, you can set up opened pages that will opened for guest, guest can view these pages and will not be directed to landing page.
In “Restriction Global Setting” panel, you can enable “page lLevel protect” option, if you enabled this option, in page / post editor, you will find “Members only for this page?” meta box at the right top of the wordpress standard editor.
If you checked “Allow everyone to access the page” checkbox in meta box, the post will be opened to all guest users
By this way, you do not need enter page URLs to ppened Pages panel always.
If you want to open your wordpress site to guest users, you can one click to open your site via “Temporarily Turn Off All Featrures” option
If you just want to restrict a few private message, you can use shortcode [restriction]hi, this is private content[/restriction]
Also you can restirct post private content based on users via restriction shortcode, you can use it like this:
[restriction roles=’editor,administrator’]hi, we are private content[/restriction]
or
[restriction roles=’editor’]hi, we are private content[/restriction]
And you can redirect users which have no permission to view the wordpress restricted content to a customized URL with this way:
[restriction roles=’editor,administrator,admin’ link=’https://tooltips.org/shop/’]hi, we are private content[/restriction]
If you do not want to restrict post private content with user roles, just use restricted shortcode like this:
[restriction]hi, we are private content[/restriction]
How To Use
Once installed the restriction plugin, please click restriction menu in back end, we have detailed step by step notes for each option
If you just want to restrict a few private message, you can use shortcode [restriction]hi, this is private content[/restriction]
Download
https://www.wordpress.org/

延伸相關外掛

文章
Filter
Apply Filters
Mastodon