Restrict access to a single post or page
Once you integrate the Memberful WordPress plugin, you'll see a metabox at the bottom of each post and page on your site. This metabox lets you specify the access restrictions on a post-by-post / page-by-page basis.
In this help doc:
- Review your options for restricting content.
- Choose who has access.
- Add marketing content.
- Add members-only content.
Review your options for restricting content
When it comes to restricting access to content with the Memberful WordPress plugin, you have several options. You can:
- Restrict access to a single WordPress post or page
- Restrict access by category or tag.
- Restrict access using our shortcodes
- Restrict access using our WordPress Functions (developer feature)
- Bulk restrict access to posts and pages (one-time setting)
In this doc, we will describe how to restrict access to a single post or page.
Choose who has access
Once you've installed the Memberful WordPress plugin on your site, you'll see a Memberful: Restrict Access box at the bottom of each page and post. Choose who should have access to your page or post by checking the appropriate box(es):
- All members—active, inactive, or free (works well for a "Freemium" tier)
- Members with an active subscription to any Plan
- Members with an active subscription to a specific Plan
- Anybody who owns a specific Download
Restrict access to Custom post types
Register your custom post types to use them with Memberful.
Add marketing content
Check out these customer examples for inspiration:
Fade out text
If you’d like display the beginning of the post and then fade out with a lock-type image, replace our marketing content with the WordPress excerpt through a custom plugin or custom function. For the lock-type image, you’d have to hardcode (and style) a marketing message using our functions in the template file. A good WordPress developer should have no problem handling both scenarios.
Set default marketing content
To create default marketing content for all new posts and pages, check the box at the bottom of the editor.
Add members-only content
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 has the correct access, they’ll be able to see the protected content on your page or post. If they don't have the right access or are logged out of your site—they'll see the marketing content.
To test the content protection on your site, log out of your WordPress administrator account or access the page from a private browser window.
Related help docs:
- If you need to include marketing material in your unprotected (free) content, but want it to be hidden to customers who've already paid, use our shortcodes to manually protect WordPress content.
- Organize protected WordPress content.