
內容簡介
HTML code:
```html
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Recast Paywall - WordPress 外掛總結</title>
</head>
<body>
<h2>Recast Paywall - WordPress 外掛總結</h2>
<p>將您的 WordPress 網站轉換為一個高品質內容平台,使用 Recast Paywall - 一個靈活的 WordPress 付費牆解決方案。</p>
<ul>
<li>主題化設計</li>
<li>內容閘控</li>
<li>使用者體驗</li>
<li>開發人員與主題整合</li>
<li>效能與可靠性</li>
<li>雙編輯支援</li>
<li>現代網頁標準</li>
</ul>
<h3>問答:</h3>
<ol>
<li>
<h4>主題化設計</h4>
<ul>
<li>如何自訂主題與 Paywall 整合支持?</li>
<li>這個 WordPress 外掛的設計在所有設備上都是響應式的嗎?</li>
<li>Recast Paywall 是否支援深色模式?</li>
<li>如何進行主題自定義?</li>
</ul>
</li>
<li>
<h4>內容閘控</h4>
<ul>
<li>何謂「文章級別閘控」?</li>
<li>「區塊級別閘控」是指什麼?</li>
<li>如何在區塊編輯器工具列中方便地切換控制?</li>
<li>「基於摘要的預覽」是如何實現的?</li>
</ul>
</li>
<li>
<h4>使用者體驗</h4>
<ul>
<li>「登入先」流程意味著什麼?</li>
<li>如何實現無縫的購買流程並立即瀏覽內容?</li>
<li>有哪些狀態指示顯示可用性?</li>
<li>如何實現一鍵購買和自動揭露內容?</li>
</ul>
</li>
</ol>
</body>
</html>
```
這些問答可以根據您的需求進一步擴展和個性化。
外掛標籤
開發者團隊
原文外掛簡介
Transform your WordPress site into a premium content platform with Recast Paywall – a flexible paywall solution for WordPress.
Themeable Design
Custom paywalls with theme integration support
Responsive design that works on all devices
Dark mode support
Smooth animations and hover effects
Theme customization via WordPress hooks and filters
Content Gating
Post-level gating – Gate entire posts
Block-level gating – Gate individual blocks
Toolbar integration – Easy toggle controls in the block editor toolbar
Excerpt-based previews – Paywalls display post excerpts as preview text
Automatic content synchronization with Recast inventory
Real-time pricing display from your Recast dashboard
User Experience
Login-first flow – Users must log in before purchasing (WordPress authentication)
Seamless purchase process with immediate content access
Status indicators showing availability (Pre-sale, Available, Coming Soon)
One-click purchase with automatic content reveal
Progressive enhancement for optimal performance
Developer & Theme Integration
HTML customization via WordPress filters
CSS framework with modern design patterns
JavaScript hooks for custom purchase flows
REST API for custom integrations
WP-CLI support for command-line management
Logging for troubleshooting
Performance & Reliability
Smart caching – Entitlement decisions cached for 5 minutes
Memory optimization – Efficient processing for large sites
Webhook support – Real-time updates from Recast
Multisite ready – Works with WordPress multisite installations
Security focused – API secrets never exposed, proper nonces, XSS protection
Dual Editor Support
Classic Editor – Meta box integration for traditional workflows
Block Editor (Gutenberg) – Native block support with Document Settings
Toolbar Integration – Easy toggle controls for block-level gating
Shortcode support – Easy integration with any theme
Custom blocks – Dedicated Recast Paywall blocks
Modern Web Standards
Mobile-first responsive design
Accessibility compliant (WCAG guidelines)
Keyboard navigation support
Screen reader friendly
Modern CSS with fallbacks
Use Cases:
Content creators looking to monetize premium articles
News sites wanting to gate exclusive content
Educational platforms selling courses and tutorials
Membership sites with tiered access levels
Theme developers needing customizable paywall solutions
Agencies building premium content sites for clients
External Services
This plugin connects to the Recast API service to manage content monetization, inventory synchronization, and user entitlements. The Recast API is essential for the plugin’s core functionality.
Sandbox keys are obtained via: http://business.recast-sandbox.tv/api-register
To setup a production Recast Merchant Account and obtain API keys, visit: http://business.recast.tv/api-register
Recast API Service
Service Provider: Recast (recastpay.com)
Production API: https://api.recast.tv/api/v0
Sandbox API: https://api.recast-sandbox.tv/api/v0 (used when sandbox mode is enabled in settings)
What the service is used for:
* Managing content inventory – Syncing WordPress posts as products in Recast inventory
* Checking user entitlements – Verifying if users have purchased access to premium content
* Creating purchase intents – Initiating purchase flows for users to buy premium content
* Receiving webhooks – Processing real-time updates about entitlements and inventory changes
What data is sent and when:
API Credentials (API Key, API Secret, Brand ID)
Sent: When authenticating API requests (used to generate JWT tokens)
When: On every API request after initial authentication
Stored: Only in WordPress database (never exposed to frontend)
User Identification Data (WordPress User IDs, mapped to external user IDs)
Sent: When checking if a user has access to premium content
When: Every time a user views a paywalled post (if not cached)
Purpose: To verify purchase entitlements
Product/Post Data (Post titles, descriptions, IDs, pricing, status, geographic availability)
Sent: When posts are published or updated in WordPress
When: Automatically when posts are saved if paywall is enabled
Purpose: To synchronize WordPress content with Recast inventory
Purchase Intent Data (User ID, Product ID, optional pricing details)
Sent: When a user initiates a purchase of premium content
When: When the purchase button is clicked on a paywall
Purpose: To create purchase intents in the Recast system
Webhook Receipt (Entitlement and inventory event data)
Received: When events occur in Recast (entitlements created/updated, products updated)
When: Real-time when webhooks are configured
Purpose: To keep WordPress in sync with Recast system state
Links to Service Policies:
* Merchant Terms of Service: https://recastpay.com/vendor-terms-and-conditions
* User Terms and Conditions: https://recastpay.com/terms-and-conditions
* Privacy Policy: https://recastpay.com/privacy-policy
Note: All API communications use HTTPS encryption. API secrets are stored securely in your WordPress database and are never exposed to the frontend or transmitted in a way that could be intercepted.
Usage
Content Gating Modes
The plugin supports two gating modes that can be toggled per post:
Post-Level Gating (Default)
Gates the entire post content behind a paywall
Shows a beautiful Medium.com-style paywall with post excerpt
Best for premium articles and exclusive content
Preview Text: Uses the post excerpt (set in post editor sidebar)
Block-Level Gating
Allows selective gating of individual blocks within a post
Provides more granular control over what content is premium
Perfect for mixed free/premium content strategies
Setting Up Content Gating
1. Choose Your Gating Mode
Create or edit a post
In the Document Settings panel (Block Editor) or “Recast Paywall” meta box (Classic Editor)
Select your gating mode:
“Post” – Gate the entire post (default)
“Block” – Enable block-level gating
Save and Publish the post – it will automatically sync with Recast
2. Post-Level Gating
When using Post mode:
* The entire post content is gated behind a paywall
* Users see the post excerpt and purchase options
* On archive/list pages, only the excerpt is shown (no content leak)
* Tip: Set a compelling excerpt to encourage purchases!
3. Block-Level Gating
When using Block mode:
* Individual blocks can be marked for gating using the block’s toolbar
* Users see full content except for gated blocks
* Gated blocks show streamlined paywall sections
Block-Level Gating with Toolbar Integration
Using the Block Toolbar
Enable Block Mode: Set the post gating mode to “Block” in Document Settings
Select a Block: Click on any block in the editor
Access the Toolbar: Look for the “Recast Paywall” toggle in the block toolbar
Toggle Gating: Click the toggle to mark/unmark the block for gating
Visual Indicator: Gated blocks show a paywall icon in the editor
Supported Block Types
Block-level gating works with most Gutenberg blocks:
* Paragraphs
* Headings
* Images
* Videos
* Lists
* Custom blocks
* And more!
