[WordPress] 外掛分享: Pay For Post with WooCommerce

首頁 › 外掛目錄 › Pay For Post with WooCommerce
WordPress 外掛 Pay For Post with WooCommerce 的封面圖片
1,000+
安裝啟用
★★★★☆
4.7/5 分(53 則評價)
剛更新
最後更新
—
問題解決
WordPress 6.6+ PHP 7.4+ v3.4.1 上架:2014-05-15

內容簡介

Pay For Post with WooCommerce 外掛讓使用者能透過 WooCommerce 快速銷售頁面、文章及自訂文章類型的存取權限,簡化了內容保護的流程,並提供多種進階選項以增強內容的銷售能力。

【主要功能】
• 限制內容存取,需購買特定 WooCommerce 產品
• 支援單一或多篇文章與產品的關聯
• 提供全球限制內容訊息設定
• 簡單易用,兼容 WooCommerce 原生功能
• PREMIUM 版可設定延遲限制與過期限制
• PREMIUM 版支援 Elementor 完整功能

外掛標籤

開發者團隊

⬇ 下載最新版 (v3.4.1) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Pay For Post with WooCommerce」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Pay For Post with WooCommerce puts a paywall on any post, page or custom post type and sells access to it as a WooCommerce product.
You choose the products that unlock a post. Visitors who have not bought one see your paywall message and the product, with its add-to-cart button, in place of the content. Customers who have bought one see the post. The sale is an ordinary WooCommerce order, so it works with the payment gateways, taxes, coupons and emails your store already uses.
This page is for the free version, which sells permanent access to whole posts. Everything under “In the Premium version” below, and every screenshot labelled Premium, needs the paid version.
How it works

Create a product in WooCommerce.
Open the post or page you want to sell.
In the Pay For Post panel, choose the product and save.

One product can unlock many posts, and a post can be unlocked by any one of several products.
In the free version

Protect posts, pages and custom post types with one or more WooCommerce products
Sell a single post, or a whole set of posts with one product
One paywall message for the whole site, with a live preview, and any WooCommerce shortcode in it
A panel in the block editor sidebar, and a box in the classic editor
Check a customer: enter a customer’s email and a page to see whether they have access, and why. It runs the real paywall as that customer, so the answer is the one they get.
Protected content stays behind the paywall in archives, search results, feeds and the REST API
Turn comments off on protected posts
Choose whether administrators see protected posts or the paywall
List a customer’s content anywhere with the [woocommerce-payperpost] shortcode
Template functions for themes that do not use the_content()
Documentation inside the plugin, under Pay For Post > Need Help > Docs
Works with WooCommerce High-Performance Order Storage and with multisite

In the Premium version

Free at first: a post is free for a set time after it is published, then the paywall appears
Limited views: each purchase allows a set number of views
Time limited: each purchase gives access for a set time
Show customers the views or time they have left
A different paywall message for each post
Protect part of a post with the [wc-pay-for-post-inline] shortcode
A Purchased Content tab in WooCommerce My Account
Links to the unlocked content on the order confirmation, in order emails and in My Account
A Protected Content screen: every protected post, what unlocks it, and who bought it
WooCommerce Subscriptions, including the subscription plans added in 9.0
WooCommerce Memberships and Paid Memberships Pro
Elementor: protect individual elements of a page
Polylang
A list on each product page of what the product unlocks
Lock icons beside protected titles, roles that skip the paywall, and comments for customers only
Priority support, and a 7-day trial

Compare the two versions at pramadillo.com/plugins/woocommerce-pay-per-post.
Requirements

WordPress 6.6 or later
WooCommerce 6.9 or later (tested up to 11.3)
PHP 7.4 or later
Guest checkout turned off. Access belongs to a customer account, so every buyer needs one.

Shortcodes
[woocommerce-payperpost template='purchased']

A list of the posts the logged-in customer has bought. The other templates are has_access (posts they can open now), remaining (posts they cannot open yet) and all (every protected post, marked locked or unlocked).
Every shortcode and attribute is in the Shortcodes reference, under Pay For Post > Need Help > Docs.
Template functions
The plugin works with any theme that prints post content with WordPress’s the_content(). For a theme or page builder that does not, use these in your templates.
Woocommerce_Pay_Per_Post_Helper::has_access()

Whether the current visitor may see the post. Returns true or false.
Woocommerce_Pay_Per_Post_Helper::get_no_access_content()

The paywall for the current post.
The Template functions reference in the plugin’s docs has the full list and an example.
Demo
There is a front-end demo at demo.pramadillo.com. To see the admin side, ask for a Plugin Admin Demo at pramadillo.com/support.

文章
Filter
Mastodon