How to allow visitor access to specific posts in a Membership-restricted category.

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….

This page requires a Plus Account or higher.


Already have an account?

Log In

New to this site?

Register Now

Advanced Category Techniques for Filtering Searches and Archives to Members and Non-Members

If you’ve set the option “Filter Searches and Archives” to “Yes” under the Memberships > Advanced Settings page, all of the posts in your members-only categories will be hidden from the main page, archives, and search queries. This code gist allows you to add specified categories back into the query.