The ask
Make the Members Lounge page members-only for the Annual plan. Show me the rule before it goes live. Then check the page as a logged-out visitor and as one active Annual member, and tell me what each of them can see.
Paste it into Claude, ChatGPT or Cursor once your site is connected. Change the names and numbers to yours.
When to use it
You have a page or post that should be for members only, and you want to know it is locked, not just hope it is. Checking as a logged-out visitor is the step most people skip.
Before you start
- A connected MemberPress site (start here).
- The page or post already exists, and the plan that should unlock it is published.
- Use the page’s title as it appears in WordPress. If two pages share a title, your AI will ask which one you mean.
What your AI does
- Finds the page by its title and gets its ID (
memberpress_find_content), and finds the Annual plan (memberpress_list_memberships). - Looks for rules that already cover that page, so it doesn’t stack a second one on top (
memberpress_list_rules). - Prepares one access rule: the Members Lounge page, unlocked by the Annual plan (
memberpress_create_rule). It shows you the rule and waits. A live rule changes who can see the page at once, so it needs your approval in your AI app before it is saved. - Checks the page as a logged-out visitor (
memberpress_check_access), then picks one active Annual member (memberpress_list_members) and checks the page as that member. - Reports what each of them gets, and which plan grants access.
What you get back
Make the Members Lounge page members-only for Annual, then check it.
The rule is live on example-studio.example: Members Lounge is now for Annual members only. A logged-out visitor is blocked. Priya Raman, an active Annual member, has access through Annual. No other rule covers this page.
What it changes
- One new access rule, published only after you approve it in your AI app. The checks afterward only read.
- Your AI can change a rule later: its status, the content it protects, the plans that unlock it, or when content unlocks over time. It shows who gains and who loses access, and saves the change only after approval in your AI app. It can’t delete a rule. To remove one, open MemberPress → Rules.
- If you’d rather review it in WordPress first, ask for the rule as a draft. A draft rule is not enforced until you publish it in MemberPress → Rules, so run the checks after that.
- Every call appears in the activity log on your site.
Variations
- A single post: “Make the post Spring Workshop Replay members-only for Monthly and Annual, then check it logged out.”
- A whole category: “Protect everything in category 14 for the Annual plan.” Your AI needs the category’s ID, which you’ll find in Posts → Categories: hover over the category’s Edit link and look for
tag_ID=in the address. - Drip it out: “Make the Week 2 page members-only for Monthly, and unlock it 7 days after someone joins.”
- Check only: “Can a logged-out visitor see the Members Lounge page? What about [email protected]?”
Related playbooks
Plans and coupons
Set up your membership plans
Monthly and annual plans with a free trial, saved as drafts until you publish them.
Launch
Audit your membership before launch
Plans, rules, gateways, coupons and reminders checked before you announce.