
內容簡介
Donate to Access Content 是一款免費的非官方 GiveWP 外掛,允許網站擁有者在訪客捐款後解鎖內容。透過此外掛,使用者可以隱藏文章、頁面或自定義文章類型,直到完成捐款後才能查看原始內容。
【主要功能】
• 隱藏文章、頁面及自定義文章類型
• 支援類別及自定義分類檔案頁面
• 使用短碼或區塊限制頁面部分內容
• 設定最低捐款金額及存取到期日
• 不影響 Give 捐款表單頁面
外掛標籤
開發者團隊
原文外掛簡介
Donate to Access Content is a free, unofficial add-on for GiveWP. It is not an official GiveWP product.
Site owners can hide posts, pages, custom post types, category archives, or a portion of a page until a visitor donates through a Give form. After a completed donation, that donor can return and see the original content.
What you can restrict
Individual pages and posts (settings lists or the Restrict with donation metabox)
Category and custom taxonomy archive pages
Entire public custom post types
A portion of a page with the [cip_donate_to_access_content] shortcode or the Restricted Content block
Give donation form pages are never treated as restricted content.
After a donation
Access is based on Give donors, not a WordPress login. The same donor can return later as:
A logged-in WordPress user linked to that Give donor
A guest whose browser still has the guest-access cookie
A guest who uses “Already donated?” and opens the signed email link
Optional settings include a minimum donation amount, access expiry in days, and how restricted posts appear in REST, RSS, search, and oEmbed.
Requirements
WordPress 6.0 or later
PHP 8.1 or later
GiveWP active (legacy v2 forms and visual-builder v3 / v4 forms)
A published Give donation form to use as the default gate
Development source: https://github.com/contriveitup/give-add-on-donate-to-access-content
Third-party libraries
Admin settings use Select2 4.0.13 (MIT License), bundled in assets/vendor/select2/. Unminified JS and CSS are included next to the minified files.
