FCHubFCHub.co

Quick Start

Create your first membership plan, link it to a FluentCart product, protect content, and verify the full purchase-to-access flow.

This guide walks you through the basic flow: create a plan, connect it to a FluentCart product, set up content protection, and test a purchase. You will have a working membership site in under 10 minutes.

The Basic Flow

Create a Membership Plan

Go to Memberships > Plans and click Create Plan.

Fill in the basics:

  • Title — the name members will see (e.g., "Pro Membership")
  • Slug — auto-generated from the title, used in shortcodes and URLs
  • Description — shown in the admin and optionally on the frontend
  • Status — set to "Active" to make it available immediately

For duration, you have three options:

  • Lifetime — access never expires
  • Fixed Days — access expires after a set number of days (e.g., 365)
  • Subscription Mirror — access duration follows the FluentCart subscription billing cycle

Leave trial days at 0 for now. You can configure trials later.

Click Save Plan.

Add Content Rules to the Plan

Still on the plan edit page, switch to the Content Rules tab.

Click Add Rule and select the content you want this plan to include:

  • Choose a resource type (posts, pages, or any custom post type)
  • Search for and select the specific content
  • Set the drip type to "Immediate" for instant access

Add as many rules as you need. Each rule defines one piece of content that members of this plan can access. You can also protect entire categories or tags by choosing a taxonomy resource type.

Click Save after adding your rules.

Link the Plan to a FluentCart Product

Go to your FluentCart product editor. Under the Integrations tab, click Add Integration Feed and select Memberships.

Configure the feed:

  • Feed Title — a label for this feed (e.g., "Grant Pro Membership")
  • Membership Plan — select the plan you just created
  • Validity Mode — choose "Lifetime", "Fixed Duration", or "Mirror Subscription" depending on your pricing model
  • Event Trigger — leave as "Order Paid" (the default)

Save the feed. When a customer purchases this product and payment is confirmed, the membership plan will be granted automatically.

Set Up Content Protection

There are two ways to protect content:

Option A: Plan Rules (already done) If you added content rules to your plan in Step 2, that content is already implicitly protected. Anyone without the plan will see a restriction message.

Option B: Per-Post Protection Edit any post or page and look for the Membership Protection meta box in the sidebar. Check "Protect this content", select which plans grant access, and optionally customize the restriction message and teaser settings.

Both Methods Work Together

Plan rules and per-post protection are complementary. A post can be protected by plan rules, by explicit protection settings on the post, or both. The access evaluator checks all sources when deciding whether to grant access.

Test a Purchase

Create a test order in FluentCart for the product you configured:

  1. Place an order (you can use a test payment method)
  2. Mark the order as paid
  3. Check Memberships > Members — your test user should appear with an active grant
  4. Log in as the test user and visit the protected content — it should be fully visible
  5. Log out or use a different browser — the restriction message should appear

Verify Access

To confirm everything is working:

  1. Admin view — Go to Memberships > Members and find your test user. You should see their active grants, the plan name, and the source order.

  2. Frontend view — As the member, visit a protected page. The full content should display. You can also use the [fchub_membership_status] shortcode on any page to show the user their active plans.

  3. WP-CLI check (optional) — Run:

wp fchub-membership check --member=<user-email> --plan=<plan-slug>

This outputs whether the user has active access to the specified plan.

What's Next

On this page