| 开发者 | contentpass |
|---|---|
| 更新时间 | 2026年10月29日 16:13 |
| 捐献地址: | 去捐款 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1.2 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
?cpdebug=staging. Consentmanager and script blocking run for every visitor. Staging ends on its own once the property is approved and live in the publisher dashboard (this can take up to 10 minutes).manage_options capability. Developers can change it with the cp4wp_required_capability filter.contentpass-integration folder to the /wp-content/plugins/ directory, or install the ZIP from your distribution package.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.
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.
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.
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.
The plugin header declares WordPress 6.3+ and PHP 7.4+. Newer releases may raise these; check the plugin main file after updates.
Yes. Developers can use the cp4wp_required_capability filter to require a different capability than manage_options.
Yes, when configured. See the External services section above. The plugin only talks to Contentpass and Consentmanager.
?cpdebug=staging only control the Contentpass wall.cmplazyload, so each vendor is unlocked by Consentmanager. Placeholders unlock on accept-all (consentapproved).onFullConsent or a content preview Accept.isDomainReady false). The CNAME does not resolve yet, so the stub cannot render the wall and must not suppress the CMP screen.isDomainReady as ready, so older properties do not lose Contentpass.cmpRendersWall) — avoids a second cp('create') racing the CMP's own integration.https://static.contentpass.net/properties/{id}/config.json).hostname.isDomainReady, isVerified) with a link to the publisher dashboard.cmplazyload, data-cmp-src, data-cmp-vendor) instead of Contentpass placeholders.