Build A Membership Site TodayLearn More »Pricing & Plans »

MemberPress Rules

« MemberPress User Manual

MemberPress Rules Intro

What you'll see in this video: a basic run through of how to use MemberPress rules to protect a page or selected content after having created a membership.

MemberPress Rules Explained

What you'll see in this video: a more in depth explanation about MemberPress Rules and how they can interact with your site.

A Basic Breakdown of MemberPress Rules

After you have created at least one Membership, you can then setup Rules to protect certain pieces of site content from non-subscribed members. The following options are available for Rules.

Important Note: Administrators can always access content, regardless of the Rules, so be sure to do your testing with non-administrator User accounts.

  • A Single Post - This allows you to protect one individual post.
  • Posts Categorized As - This allows you to protect any post(s) which has been assigned a certain category. Using categories in WordPress is a great way to keep your membership content organized.
  • Posts Tagged - This allows you to protect any post(s) which has been tagged with a specific tag. This is similar to the Categories rule, but gives you a bit more control on how you want to organize your membership content.
  • All Posts - This allows you to protect all posts on your site at one time. Be sure to use this option with caution as it can conflict with other Rules you may have set already such as "A Single Post", "Posts Categorized As", or "Posts Tagged".
  • A Single Page - This allows you to protect one individual page.
  • Child Pages of - This allows you to protect all children of the selected page. A child page in WordPress is any page which you set a "Parent" value when creating/editing the page.
  • All Pages - This allows you to protect all pages at once. Be sure to use this option with caution as it can conflict with other Rules you may have set already such as "Child Pages of" and "A Single Page".
  • Partial - Select this option if you only plan to use this rule to hide partial content with the use of a Shortcode or PHP Snippet (See Here)
  • Custom URI - Allows you to protect files and pages by what's in the URL. Read this page for more information on protecting files.
  • Custom Post Type - Any custom post types that you have created will appear in the drop down menu when selecting rule type. You will have the option to protect any of the custom post types based on all custom post type or one individual custom post for the one you have selected.

Drips and Expiration's - You can set a time for the Rule to drip (become available) or expire (become unavailable) based on any "X" amount of days, weeks, months, or years, after a trigger has been made. The triggers you can select are when the member registers (meaning on your site), after a fixed day in the future, or after they purchase any or a specific membership on your site (all created memberships will appear as options). So let's say you have 12 protected posts, and you want the member to have access to only one post per month after they signup. Well enabling drips and expiration's will allow you to do this easily, and much more.

Advanced Options - Advanced user's may also be interested in our PHP Snippets and Regular Expressions.