
Metered Content for WooCommerce
v1.0.2webangon · 2026年10月30日 上架
Free articles, then a paywall: sell metered reading passes, member perks and site licences for your posts with WooCommerce.
- 正在使用
- 10 以下
- 评分
- 暂无
- 累计下载
- 514
- 最近更新
- 2026年11月14日
贡献者
截图








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.