Protect WordPress content
Memberful provides 100% secure server-side content protection with our WordPress plugin.
In this help doc:
- Restrict access to WordPress pages and posts.
- Set default marketing content.
- Use the Bulk restrict access tool.
Restrict access to WordPress pages and posts
Once you've installed the Memberful WordPress plugin on your site, you'll see a Memberful: Restrict Access meta box at the bottom of every page and post. Choose Who has access by checking the appropriate box or boxes.
Add your members-only text, images, and video embed codes in the editor above the marketing content. Save your page or post.
If a member is logged in to your site and owns any of the Downloads or Plans you selected in the Memberful: Restrict Access meta box, they’ll have access to the page or post. If they aren't subscribed, don't own the Download, or are logged out—they'll see the marketing content.
To test the content protection functionality on your site, log out of your WordPress administrator account or access the page from a private browser window.
Set default marketing content
To set default marketing content (e.g. “Members only page”) for all new posts and pages, check the box at the bottom of the editor.
Use the Bulk restrict access tool
If you want to bulk restrict access to all pages, all posts, all posts from a category, or all pages and posts, navigate to Settings → Memberful → Bulk restrict access tool. Keep in mind that this is a one-time application of the settings.
Be careful when you bulk apply these settings as they will overwrite and replace any specified individual post or page restrict access settings.
You must have at least one categorized, published post for a particular category to appear in the Bulk apply restrict access settings.
Restrict access to custom post types
Memberful works with custom post types once you've registered them, but there's no default way to apply restrictions across an entire post type without using Wordpress functions.
Marketing within unprotected content
If you need to include marketing material in your unprotected (free) content, but want it to be hidden to customers who've already paid, then you can use shortcodes to manually protect WordPress content.
[memberful does_not_have_subscription_to="154-big-awesome"] Shown to users who aren't subscribed the "Big Awesome" Plan... [/memberful]
Related help docs:
Can't find what you're looking for? We'd love to help! 💪
Send us a message through the orange chat bubble in the lower right corner of the page. You'll hear back within a few hours Monday - Friday. 😀