Linux 软件免费装
Banner图

Contentpass Integration

开发者 contentpass
更新时间 2026年10月29日 16:13
捐献地址: 去捐款
PHP版本: 7.4 及以上
WordPress版本: 7.1.2
版权: GPLv2 or later
版权网址: 版权信息

标签

subscription paywall gdpr consent cmp

下载

1.3.3 1.4.2 1.4.4 1.0.3 1.0.6 1.1.1 1.1.2 1.0.4 1.3.1 1.4 1.4.1 1.4.3 1.4.5 1.4.6 1.0.5 1.0.7 1.0.8 1.0.1 1.0.2 1.0.9 1.1.0 1.3

详情介绍:

Contentpass is a privacy-focused monthly subscription for readers. With one registration, Contentpass users visit participating websites ad-free and without being tracked. For you as a publisher, that means revenue from visitors who reject advertising consent. Contentpass pays out at ad market rates, so you earn the same from these visitors as you do from advertising. This plugin adds Contentpass to your WordPress site. You set everything up in the WordPress admin, without editing your theme. What your readers get What you get You need a Contentpass publisher account to use the plugin. Don't have one yet? Get in touch through Request Contract in the plugin menu, or visit the Contentpass publisher page. For site administrators Requirements What the plugin does

安装:

  1. Upload the contentpass-integration folder to the /wp-content/plugins/ directory, or install the ZIP from your distribution package.
  2. Activate Contentpass Integration through the Plugins screen in WordPress.
  3. Open Contentpass in the admin menu and complete Integration: enter your Property ID first, then configure Consentmanager.
  4. If you use script blocking, review Blocking Rules and save your patterns.
  5. Once your property is approved and live in the Contentpass publisher dashboard, verify consent and Contentpass behaviour on the front end. Staging mode ends automatically when both statuses are active (config refresh may take up to 10 minutes).

屏幕截图:

  • Blocking Rules – script scan and exclude configuration.

升级注意事项:

1.4.7 Accept-all lifts blocking rules and stops the watchdog. Deny and partial consent keep them. 1.4.6 WordPress.org listing and banner updated. 1.4.5 One placeholder per embed for vendors with several scripts. Subscribers accept embeds per placeholder. 1.4.4 Blocked iframes pass their size to Consentmanager so the preview box can be shown. 1.4.3 Integration settings are available without entering a Property ID first. 1.4.2 Supports Consentmanager only. 1.4.1 Listing text now matches the plugin: Consentmanager is the only CMP. 1.4 Script blocking and Consentmanager run for every visitor. The Contentpass wall stays limited to staging. Only Consentmanager is supported. 1.3.3 Keeps the CMP consent screen when a live or public property's Contentpass domain is not ready yet. 1.3.1 Defers to the CMP when it renders the Contentpass wall itself, and keeps blocked embeds gated until Contentpass consent or a valid subscription. 1.3 Property setup now uses the Property ID and static config.json; the CNAME host is no longer entered manually. 1.2.17 Keeps normal placeholders behind the Contentpass wall until full consent, and blocks late Dynamic Blocking script injects before Accept. 1.2.16 Hooks Consentmanager vendorconsent so Dynamic Blocking Accept actually loads prepared scripts. 1.2.15 Removes the stuck CM Accept overlay after click and loads blocked dependency scripts. 1.2.14 Fixes empty Dynamic Blocking boxes when the CMP vendor was already consented (forces CM content preview). 1.2.13 Fixes empty Dynamic Blocking box after Contentpass login; CM content preview can render again. 1.2.12 Generalizes Dynamic Blocking (no vendor-specific hacks) and stops auto-loading CM content on Contentpass login. 1.2.11 Keeps MapPress blocked behind the Contentpass wall until the user consents, pays, or accepts the content preview. 1.2.10 Stops Dynamic Blocking from unlocking itself without user consent; reduces subscriber preview flash. 1.2.9 Fixes fatal error on plugin activation from 1.2.8. 1.2.8 Removes the leftover Consentmanager preview when Contentpass subscribers already unlocked the map. 1.2.7 Fixes empty MapPress / Dynamic Blocking for logged-in Contentpass subscribers. 1.2.6 Fixes Dynamic Blocking content accept when Accept All already worked (MapPress remount + CM accept detection). 1.2.5 Fixes Dynamic Blocking content/preview accept (inline) when Accept All already worked. 1.2.4 Fixes MapPress/Leaflet load order after Dynamic Blocking consent (L is not defined). 1.2.3 Fixes Dynamic Blocking unlock on Accept All and content preview accept. 1.2.2 Fixes Consentmanager Dynamic Blocking preview accept (scripts not re-blocked / nested wrappers). 1.2.1 Improves Consentmanager Dynamic Blocking for MapPress-style embeds (wrap custom elements; no auto preview on scripts). 1.2 Optional Consentmanager Dynamic Content Blocking for blocking rules. Recommended when using CM previews per vendor. 1.1 Temporarily hide CMP dropdown; existing CMP choices remain unchanged. 1.0.9 Backend flow improvements: open staging debug URLs, permanent CNAME skip, stricter ID/Base URL sanitize. Recommended update. 1.0.8 Improves Integration setup UX (CMP auto-save, Property ID autosave, plaintext debug password). Recommended update. 1.0.6 Fixes Contentpass scripts not loading after saving Integration settings. Recommended update for all sites on 1.0.4 or 1.0.5. 1.0.5 Fixes live properties incorrectly kept in staging mode. Recommended update for all production sites. 1.0.4 Improves CNAME detection during first-time setup. Recommended for new integrations. 1.0.3 Fixes Integration page config verification after 1.0.2. Recommended update. 1.0.2 Fixes a critical issue where an incorrect Base URL could break the public site. Update recommended for all sites. 1.0.1 After upgrading, hard-reload the front end or purge CDN cache so updated JavaScript assets load. 1.0 Review Integration and Blocking Rules after upgrading; verify front-end consent and Contentpass behaviour once your property is approved and live.

常见问题:

Do I need a Contentpass publisher account?

Yes. You need a Contentpass property and its Property ID and the domain setup completed in the publisher dashboard. Use Request Contract in the admin menu if you need to contact Contentpass.

Why does the plugin load now.js from my Contentpass base URL?

now.js is required by the Contentpass platform. It is not optional custom code and not pasted by the publisher. The plugin loads it only from the Contentpass host listed as hostname in your property config.json (for example https://cp.example.com/now.js). This script powers subscription and consent integration together with the official Contentpass stubs from static.contentpass.net. Without now.js, Contentpass cannot function on the site.

What are “Scripts to load after consent”?

This is an optional list of external script URLs only (for example your ad network’s https://…/ads.js). Publishers enter URLs in dedicated fields; the plugin does not accept arbitrary HTML, inline JavaScript, PHP, or CSS. Each value is sanitized (esc_url_raw), must use http:// or https://, and is output only as a programmatic <script src="…" async defer> tag after consent. Legacy free-form “custom code” markup was removed in favour of this structured URL list. This matches the consent workflow: third-party tags blocked before consent may be loaded again after the visitor accepts.

What is staging mode?

Staging limits the Contentpass consent layer only. While the property is not approved or not live, the consent layer is shown to logged-in Editors and Administrators, or to anyone using ?cpdebug=staging. Consentmanager and script blocking still run for every visitor. You cannot turn staging off manually during onboarding. Once the property is approved and live, the consent layer is shown to everyone. Dashboard changes may take up to 10 minutes to apply.

Which WordPress and PHP versions are supported?

The plugin header declares WordPress 6.3+ and PHP 7.4+. Newer releases may raise these; check the plugin main file after updates.

Can I change who may access the plugin settings?

Yes. Developers can use the cp4wp_required_capability filter to require a different capability than manage_options.

Does this plugin send data to external services?

Yes, when configured. See the External services section above. The plugin only talks to Contentpass and Consentmanager.

更新日志:

1.4.7 1.4.6 1.4.5 1.4.4 1.4.3 1.4.2 1.4.1 1.4 1.3.3 1.3.1 1.3 1.2.17 1.2.16 1.2.15 1.2.14 1.2.13 1.2.12 1.2.11 1.2.10 1.2.9 1.2.8 1.2.7 1.2.6 1.2.5 1.2.4 1.2.3 1.2.2 1.2.1 1.2 1.1 1.0.9 1.0.8 1.0.6 1.0.5 1.0.4 1.0.3 1.0.2 1.0.1 1.0