Memberful provides some shortcodes to make it easier to use within WordPress posts and pages. You can also add shortcodes automatically on any page or post using the Memberful editor button.
In this help doc:
- Link shortcodes.
- Restrict access with shortcodes.
- Specify multiple Plans or Downloads.
- Show content to customers who haven't made a purchase yet.
Link for a member to sign in to their account:
Link for a member to sign out of their account:
Link for a member to see their account profile:
Link to a protected Download:
Link to a member's Private RSS Feed:
[memberful_private_rss_feed_link]Your RSS feed[/memberful_private_rss_feed_link]
Restrict access with shortcodes
We recommend using the Memberful restrict access metabox to restrict access to content. If want to protect content directly in a post or page, you can use shortcodes. You'll first need to fetch the integration slug from your Memberful dashboard. The slug is shown at the bottom of the screen when editing a Download or Plan.
Here's a basic example of requiring a subscription to the Big Awesome Plan to see the protected content.
[memberful has_subscription_to="154-big-awesome"] Protected content goes here... [/memberful]
Require the Super Rad Download to see the protected content.
[memberful has_download="27-super-rad"] Protected content goes here... [/memberful]
Specify multiple Plans or Downloads
If you want to specify multiple subscription Plans or Downloads use a comma separated list. The content will be shown if the customer is subscribed to any of the Plans, or owns any of the Downloads you specify.
[memberful has_subscription_to="154-big-awesome,277-cool-hair"] This will only be visible to members who have either the "Big Awesome" subscription, or the "Cool Hair" subscription. [/memberful]
[memberful has_download="27-super-rad,59-rock-on"] This will only be visible to members who have purchased either the "Super Rad" Download, or the "Rock On" Download. [/memberful]
Show content to customers who haven't yet purchased
If you want to show potential customers a message encouraging them to subscribe to a Plan, use the
[memberful does_not_have_subscription_to="154-big-awesome"] Shown to users who haven't purchased the "Big Awesome" subscription. [/memberful]
Or for a Download, use
[memberful does_not_have_download="27-super-rad"] Shown to users who haven't purchased the "Super Rad" Download. [/memberful]
Start selling memberships the easy way! 🚀 🙌 💪
Join some of the world's biggest audience-supported creators.
- Import your members
- Edit email templates
- Create a Plan
- Create Plan Groups
- Change Plan price
- Include or sell Downloads
- Update your account settings
- Choose your currency
- Give free access
- Enable Apple Pay
- Integrate with Google Analytics
- Add custom conversion tracking
- Set member attributes
- Integrate with Zapier
- Create a coupon
- Add a custom field
- Offer and manage gifts
- Integrate with Tapfiliate
- Include VAT
- Use a staging site
- Move all members of a Plan
- Install the Memberful plugin
- WordPress hosting providers
- Enable SSL (recommended)
- Other plugins (recommended)
- Theme compatibility
- Add a link to buy a plan
- Add a link to buy a gift
- Protect WordPress content
- Organize protected content
- Memberful account links
- Private RSS Feeds
- WordPress shortcodes
- WordPress functions
- Disconnect/reconnect plugin