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.
