前言介紹
- 這款 WordPress 外掛「Restriction」是 2021-02-06 上架。
- 目前有 10 個安裝啟用數。
- 上一次更新是 2024-02-18,距離現在已有 441 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 4.0 以上版本才可以安裝。
- 外掛要求網站主機運作至少需要 PHP 版本 5.4 以上。
- 尚未有人給過這款外掛評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
外掛標籤
內容簡介
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/
原文外掛簡介
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/
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Restriction」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
延伸相關外掛(你可能也想知道)
WP-Members Membership Plugin 》8211; allows you to restrict file downloads to registered users only, with customizable download links., MailChimp Integration – integrates W...。
Page Restrict 》限制某些頁面或文章僅限登錄用戶訪問, 此外掛允許您將所有頁面/文章限制為僅限登錄用戶訪問、不限制或選擇性限制。, 在某些情況下,您可能會將 WordPress 用...。
Registered Users Only 》如果您只想讓您的朋友或家人閱讀您的私人部落格,那麼此外掛可能適合您。它會將所有未登入的使用者重新導向到登入表單,其中會顯示一則使用者友善的訊息。, ...。
Restrictions for BuddyPress 》新功能:新增基於特定個人資料欄位內容,允許某些 BuddyPress 會員免費存取的能力。, 與 Paid Memberships Pro 相容。, 此外掛可協助您對以下 BuddyPress 區...。
Postcode Based Order Restriction for WooCommerce 》這個 WooCommerce 外掛可根據特定的郵遞區號/郵政碼設置訂單限制。您需要輸入特定區域的郵遞區號列表,以便訂單限制生效。啟用後,您可以基於特定的郵遞區號...。
Only for Registered Users 》透過讓文章或頁面僅限註冊使用者檢視,增加部落格的用戶註冊數量。, 此外掛允許您僅讓註冊使用者看到文章、頁面或部分內容。您可以使用短碼[RegUserOnly][/Re...。
Intranet and Extranet with O365 Login 》和社交媒體的 WordPress 內、外網,提供以下功能:, 限制想要進入網站的訪客必須登入帳戶或從指定的 IP 位址存取。把被限制的訪客導向到登入頁面以及重新導向...。
Gravity Forms User Restrictions 》使用多個參數可以應用用戶限制:, , IP, 用戶 ID, 嵌入 URL, 或使用外掛程式勾子進行自定參數限制, , 限制可以在時間上進行限制:, , 無限制, 每日, 每週, 每...。
Content Restrict 》此外掛可將自訂文章類型 (custom post type)、頁面 (pages) 或文章 (posts) 限制僅供已登入的使用者使用。, 您可以在管理後台區域中選擇要限制的內容類型。根...。
Restrict Registration 》「限制註冊(Restrict Registration)」是 WordPress 的外掛,可以讓你掌控註冊你的部落格的人。這個外掛使用簡單的黑名單和白名單來定義誰可以註冊您的部落...。
PBP Restricted Menu-Widget by role 》根據使用者是否已登入、登出或兩種情況來顯示選單或小工具項目。, 製作者:http://goo.gl/Ou4dOP。
Invite Codes for Contact Form 7 》總結:, Invite Codes for Contact Form 7 是 Contact Form 7 外掛的創新附加元件,透過輸入有效的邀請碼,僅允許表單提交,提供更高層次的控制。這外掛適合...。
Restrict By Category for WooCommerce 》讓您的使用者存取特定的產品類別, 功能, , **透過角色授權或拒絕存取 WooCommerce 產品類別。, **允許或拒絕未登入的使用者存取 WooCommerce 產品類別。, 。
WooCommerce Alcohol Sale Restrictions 》在限制時間內限制 WooCommerce 酒類銷售的外掛, 功能, , 限制時間間隔, 多個受限制的產品類別, 可自訂警告訊息, 在產品和類別頁面顯示警告, 。
User Groups Restrictions 》此外掛為使用者群組外掛的延伸功能,允許您在頁面的前台和後台限制使用者群組的存取權限。。