
內容簡介
### 外掛總結
Simple Member Protection 外掛允許網站管理員根據使用者登入狀態或指定的會員級別限制訪問特定內容。您可以通過簡單的短代碼保護文章/頁面的部分內容,或通過管理界面分配會員級別。
### 問題與答案:
1. Simple Member Protection 外掛的功能包括哪些?
- 對已登入的用戶使用短代碼來保護內容。
- 管理會員並定義會員級別。
- 將會員級別要求分配給文章和頁面。
- 導入/導出會員數據。
- 輕量且易於配置。
2. 如何使用 Simple Member Protection 外掛來限制內容只對已登入的用戶可見?
- 將內容使用 [protected_content]...[/protected_content] 包裹起來。
3. 如何根據會員級別限制內容?
- 編輯文章或頁面。
- 使用 "Membership Protection" 元框來選擇所需的級別。
4. Simple Member Protection 外掛提供了哪些短代碼?
- [protected_content]Your protected content here[/protected_content]:將內容限制為已登錄的用戶。
- [protected_content level="gold"]Your gold members-only content here[/protected_content]:將內容限制為特定會員級別的用戶(例如 "gold" 級)。
5. 如果用戶未登錄或不符合會員級別要求,會發生什麼?
- 會顯示登入提示。
6. Simple Member Protection 外掛由哪家開發?
- 由 WP Plugin Pilot 開發。
7. Simple Member Protection 外掛的許可證是什麼?
- 這個外掛在 GPLv2 或更新的版本下許可。
外掛標籤
開發者團隊
原文外掛簡介
Simple Member Protection allows site admins to restrict access to certain content based on user login status or assigned membership levels. Protect parts of your post/page content with a simple shortcode or assign membership levels through the admin interface.
Features include:
– Protect content with shortcodes for logged-in users only.
– Manage members and define membership levels.
– Assign membership level requirements to posts and pages.
– Import/export member data.
– Lightweight and easy to configure.
Usage
Wrap content with [protected_content]...[/protected_content] to restrict it to logged-in users.
To restrict content by membership level:
1. Edit a post or page.
2. Use the “Membership Protection” meta box to select the required level.
Shortcodes
[protected_content]Your protected content here[/protected_content]
– Restricts the content to logged-in users.
[protected_content level="gold"]Your gold members-only content here[/protected_content]
– Restricts the content to users with a specific membership level (e.g., “gold”).
If a user is not logged in or does not meet the membership level requirement, a login prompt is displayed.
Credits
Developed by WP Plugin Pilot
Plugin URI: https://wppluginpilot.com/simple-member-protection/
License
This plugin is licensed under the GPLv2 or later.
