Description
Metered Content for WooCommerce adds access plans and a publisher-friendly paywall to WordPress. Readers get a few free articles, then choose a plan on your pricing page and pay through the WooCommerce checkout you already run.
Metered Content for WooCommerce is 100% free. Every feature is included, with no Pro version, no licence key and no calls to external services.
👉 See how it works, every feature and the setup steps on the Metered Content page
At a glance
- 3 paywall styles: hard, partial preview and metered, with design presets and an accent colour
- 4 reset periods for free and paid reading: day, week, month and year
- 6 shortcodes for protected content, pricing tables and the reader’s account
- 31 developer hooks: 22 filters and 9 actions
- 0 external services: everything runs on your own site
Paywall and metering
- Unlimited plans, or a fixed number of unique articles per day, week, month or year. Re-reading an article in the same period is free.
- Metered paywall: readers without a plan open a set number of free articles per period, with a bar that shows how many are left.
- Registration wall: visitors who run out of free articles are asked to create a free account for more, before being asked to pay.
- Hard, partial-preview and metered paywall styles.
- Restrict single posts, whole post types, or any category, tag or custom-taxonomy term.
- Content dripping: open an article to members a set number of days after they join. Renewals keep the join date.
Plans, pricing and checkout
- Sell plans as ordinary WooCommerce products: fixed-duration passes (buying again extends the pass) or WooCommerce Subscriptions.
- One click creates the pricing page and a members page, and the paywall’s View plans button links to them.
- Pricing table with plan features, a highlighted plan, access periods, the reader’s current plan and the plans that unlock the article they came from.
- Enter a price on the plan screen to create a hidden, virtual WooCommerce product for the plan.
- Plan buttons go straight to checkout, with one plan per cart. After paying, readers see their new access and a Continue reading link back to the article.
- Sell single articles, optionally with access that lasts a set number of days after purchase.
- Refunded or cancelled orders revoke the access they granted.
Member perks and site licences
- Member discounts: a plan can take a percentage off your shop products, or off chosen categories, shown as a member price and charged in the cart.
- Organisation access: give a plan to readers on listed IP addresses, CIDR blocks or ranges, or to accounts on listed e-mail domains after a one-time e-mail confirmation.
- Gift links: members share a link that opens one premium article for anyone, with a monthly limit and an expiry.
Managing readers
- Members screen: every pass with its status, source order and expiry, with filters, search and CSV export.
- Manual grant and revoke on the user profile.
- Reports: reads, paywall views, sign-ups and purchases started at a paywall, attributed revenue, gift usage, top articles and active passes.
- Expiry reminder e-mails before and after a pass expires, managed as WooCommerce e-mails.
- A My Account screen and a members page with the reader’s plan, articles left and reading history.
Learn more
- Metered Content for WooCommerce plugin page – how it works, features, setup, shortcodes and FAQ
- More plugins from Webangon
Notes
- Guests must create an account when the cart contains a plan product or an individually sold article, because access is attached to the account. Filter
wcmc_require_account_for_plansto disable this; guest orders are then granted once WooCommerce links them to an account. - Metered free reads for visitors are tracked in a signed cookie, and metered premium pages are excluded from page caching (
DONOTCACHEPAGEplus no-cache headers). - Only users with the
manage_optionscapability (filterwcmc_manage_capability) can manage plans, settings and manual grants. - Reports count paywall views on article pages that are not served from a full-page cache; hard-paywall pages for visitors may be cached and undercounted.
- Gift tokens and e-mail confirmation links are signed with the site salts; changing the salts invalidates outstanding links.
- Organisation IP rules read
REMOTE_ADDR. Behind a proxy or CDN, filterwcmc_client_ipto return the forwarded address your proxy sets; do not trust a raw X-Forwarded-For header. Visitors who are not signed in and match an IP rule read without an article limit. - An e-mail domain confirmation is tied to that address, so changing the account e-mail ends it. Confirmation links work for 48 hours.
- With several plans, a member gets the largest discount that applies to a product; it stacks on top of a sale price.
- Content dripping counts from the start of the reader’s pass, subscription or e-mail confirmation, whichever is earliest among the plans that allow the article. Passes granted before 1.0.1 count from their last purchase. Dripped articles are not open to free metered articles or the registration wall.
Shortcodes
[wcmc_premium_content plan="pro,unlimited"]Protected content[/wcmc_premium_content]
[wcmc_subscriber_only]Visible to members[/wcmc_subscriber_only]
[wcmc_non_subscriber_only]Visible to visitors without a plan[/wcmc_non_subscriber_only]
[wcmc_remaining_articles]
[wcmc_pricing_table plans="starter,monthly-pass" columns="3"] (both attributes optional; plans takes slugs or IDs)
[wcmc_account] (the reader's plan, articles left and reading history; visitors see a sign-in button and your plans)<h3>Hooks</h3>
Filters: wcmc_access_result, wcmc_restriction, wcmc_paywall_args, wcmc_paywall_html, wcmc_teaser_text, wcmc_plans_url, wcmc_bypass_paywall, wcmc_should_meter_visitor, wcmc_require_account_for_plans, wcmc_manage_capability, wcmc_supported_post_types, wcmc_active_subscription_statuses, wcmc_reads_retention_days, wcmc_enqueue_frontend_style, wcmc_can_gift, wcmc_gift_box_html, wcmc_gift_notice_html, wcmc_pricing_table_html, wcmc_meter_banner_html, wcmc_single_plan_in_cart, wcmc_member_discount, wcmc_client_ip.
Actions: wcmc_plan_granted, wcmc_plan_revoked, wcmc_read_recorded, wcmc_visitor_read_recorded, wcmc_paywall_rendered, wcmc_order_granted, wcmc_gift_created, wcmc_event_logged, wcmc_group_email_confirmed.
Installation
- Activate WooCommerce.
- Activate Metered Content for WooCommerce.
- Open Metered Content > Add Access Plan and publish at least one plan. Link a WooCommerce product, enter a price to create one, or leave the product empty for a free plan for every logged-in user.
- Open Metered Content > Settings and click Create plugin pages to add the pricing and members pages.
- Configure global rules under Metered Content > Settings, or use the Content Access panel on individual posts.
FAQ
Is there a Pro version?
No. Metered Content for WooCommerce is free, and every feature is included. There is no paid tier and no licence key.
Does it need WooCommerce?
Yes. Plans are sold as ordinary WooCommerce products, so WooCommerce must be active. A plan without a product is a free plan for every logged-in user.
How do readers buy a plan?
The paywall’s View plans button opens your pricing page (Settings > Pages creates it). Each plan’s button adds its product to the cart and goes straight to checkout. The order grants the plan when it reaches Processing or Completed, and the order received page links back to the article the reader was on.
Does it work with WooCommerce Subscriptions?
Yes, optionally. When WooCommerce Subscriptions is installed, an active subscription to a plan product keeps the plan active. Without it, plans are fixed-duration passes.
Can a university or company get access for everyone?
Yes. Add IP addresses or ranges, or e-mail domains, under Organisation access on a plan. Readers on those addresses get the plan without buying it; readers on an e-mail domain confirm their address once through a link sent by e-mail. A plan with these rules and no product is given only to those readers.
Can members get a discount in my shop?
Yes. Set Store discount (%) under Member perks on a plan, optionally limited to product categories. Plan products and articles sold on their own are never discounted.
Does it work with page caching?
Metered articles for visitors, and premium articles while any plan has IP rules, are sent with DONOTCACHEPAGE and no-cache headers. If your CDN ignores these headers, exclude premium articles from its cache.
Is it compatible with HPOS?
Yes. It declares compatibility with WooCommerce custom order tables and the Cart and Checkout blocks.
Does it contact any external service?
No. Everything runs on your own site. Confirmation and reminder e-mails are sent through your site’s own mailer.
Screenshots












Changelog
1.0.2
- Redesigned the access plan screen: a header with status and save buttons, a plan name card, a Paywall message card, plan settings in tabs (Price, Reading limits, Pricing table, Member perks, Organisation), a Free / Paid switch, unit fields, toggle switches and a live preview of the pricing card and paywall. Spacing follows one scale: a 24px edge in every card with box titles lined up with their fields, 24px between cards and 16px between fields.
- Added Settings > Pricing table design: Classic, Hard paywall, Split panel and Three tiers presets for the paywall, with an accent colour and a live preview. The designed presets list your paid plans with their prices, terms, features and highlight badge; plans are shown, not chosen, and every button goes to the pricing page. Free-account, e-mail confirmation and single-article purchase paywalls keep the Classic box.
- Designed paywalls reset heading, paragraph and list margins with !important so theme content margins cannot push them apart.
1.0.1
- Added Settings > Pages with a Create plugin pages button for the pricing page ([wcmc_pricing_table]) and a members page ([wcmc_account]). The paywall’s View plans button now uses the pricing page.
- Added a pricing table with subtitle, features list, highlighted plan badge, access period, member discount, current plan with Extend access, “Unlocks this article” for readers sent by a paywall, and plans and columns attributes. Buttons go straight to checkout; variable products link to their product page.
- Added plan features, highlight badge and pricing button text on the plan screen, and a price field that creates a hidden, virtual, one-per-order product for the plan.
- Added member discounts: Store discount (%) and optional product categories on each plan. Product pages show the member price, the cart charges it and the order line records the discount.
- Added time-limited article purchases: Access lasts N days for individually sold articles. Repeat purchases add days, refunds and cancellations remove them, and readers see when their access ends and a Buy again paywall afterwards.
- Added content dripping: Drip to members N days after they join. Renewals and re-grants keep the join date.
- Added organisation access on plans: IP addresses (single, CIDR or range, IPv4 and IPv6) and e-mail domains with a one-time confirmation e-mail.
- Added a free articles bar on metered articles (Settings > Access > Free articles bar).
- Added an order received box that confirms the access granted and links back to the article that started the purchase.
- Added Metered Content > Members with status filters, search and CSV export.
- Checkout keeps one plan per cart without duplicate lines, sends plan and article purchases straight to checkout, and tells guests why an account is created. Individually sold articles also require an account.
- Paywall buttons lead with View plans (or Buy access for individually sold articles) and offer Sign in second.
- Fixed View plans sending readers to the My Account login form when no plans URL was entered.
- Fixed plan IDs left on posts outside the Selected plans mode overriding the paywall wording.
- Fixed new plans pre-filling the Plan title field with “Auto Draft”.
- Fixed buttons overflowing their box at phone widths.
1.0.0
- Initial release.
