Linux 软件免费装
Banner图

Contentpass Integration

开发者 contentpass
更新时间 2026年7月9日 19:26
捐献地址: 去捐款
PHP版本: 7.4 及以上
WordPress版本: 7.0
版权: GPLv2 or later
版权网址: 版权信息

标签

subscription paywall gdpr consent cmp

下载

1.0.2 1.0.3 1.0.4 1.0.6 1.0.1 1.0.5 1.0.7

详情介绍:

Contentpass is a privacy-focused monthly subscription for readers. With one registration, Contentpass users visit participating websites ad-free and without being tracked, while publishers receive subscription revenue that matches lost ad revenue at ad market rates. The Contentpass Integration plugin integrates Contentpass with your site so you can combine consent management, script control, and Contentpass configuration from the WordPress admin. Features Admin screens require the manage_options capability by default (filterable via cp4wp_required_capability).

安装:

  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 (CMP, URLs, IDs).
  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.0.7 Fixes Contentpass not loading despite successful Integration checks. Open Integration once or save settings after updating. 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 Contentpass-side configuration (including property URL / CNAME as required by Contentpass). 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 publisher’s configured Contentpass property base URL (for example https://cp.example.com/now.js) after that URL is validated during setup. 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?

While your Contentpass property is not yet approved or not yet live, staging mode is active automatically: Contentpass is shown only to logged-in users with Editor or Administrator roles, or to visitors using an authorized ?cpdebug=staging URL. You cannot turn staging off manually during onboarding. Once Contentpass has approved your property and you have set it to live in the publisher dashboard, staging ends automatically and Contentpass is served to all visitors. Changes from the dashboard 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 for each provider, what is transmitted, and links to terms and privacy policies. Only your selected CMP and Contentpass endpoints are used.

更新日志:

1.0.7 1.0.6 1.0.5 1.0.4 1.0.3 1.0.2 1.0.1 1.0