When creating and editing your site’s Membership Levels, you can choose to add membership requirements at the post category level. By doing this, any post in that category will automatically have the access restrictions in place. This recipe demonstrates how to remove that access restriction on specific post IDs, regardless of the category’s settings….
If you have multiple authors on your membership site, this recipe will override the post’s membership requirements and always let the author view their content (ignoring their current or past membership level). Remember you can set new members to the “author” role at membership checkout via the methods in this previous article….
Here are few methods to override a post’s membership requirements to members (and non-members) based on specific timeframes your configure. While some of this could be done manually, these functions make the restrictions automatic.
Allow public access to your members-only content for a set timeframe. The example below allows all members-only posts to be viewed for 24 hours, after which membership will be required to view. This recipe is a variation of our previous technique to hide old posts from new members….
If you’re using Addon Packages to sell “à la carte” access to a single page, this sister plugin will extend the page protection to all child pages. If the feature proves popular, it may become a default part of the add on with filter to disable. If a page’s parent has a price (defined as…
We blogged previously about synchronizing a post category with the purchase of an Addon Package. This new recipe uses price-adjusting fields added via Register Helper to allow members to purchase individual post categories. And—unlike the previous method—this approach can update the recurring membership price….
The code recipe below synchronizes membership access to a single post category when the member purchases an Addon Package. Note that this only allows for a one-time payment, not a recurring subscription. This method was covered in our recent webinar on Multiple Membership Levels Per User: The Workarounds. PMPro Plus members can view it on the webinar’s page…
Set a hidden “super level” with access to everything. This is a useful method for site administrators to be able to easily browse their entire membership site regardless of level.
This recipe will show you how to add code to your functions.php that will hide old member content from new members. You may want to do this if your content is more serial in nature or if you want members to only receive access to content that comes out while they are subscribed….