Simple Member Protection

外掛說明

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.

螢幕擷圖

  • Membership level assignment in the post editor.
  • Member list management page.
  • Content protection using shortcode.

安裝方式

  1. Upload the plugin folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Navigate to the Simple Member Protection admin menu to configure your settings.
  4. Use the provided shortcodes or meta box options to protect content.

常見問題集

Can I restrict content by user role or membership level?

Yes, you can assign and manage custom membership levels and apply them to posts or pages.

Is there a front-end login or registration form?

The plugin currently does not provide a front-end login/registration form.

Can I export or import members?

Yes. The plugin includes tools for importing and exporting member data.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Simple Member Protection〉的開發相關工作。

參與者

將〈Simple Member Protection〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0

  • Initial release.
  • Content restriction via shortcode and membership meta box.
  • Member and membership level management.
  • Import/export support.