| 开发者 |
kansleri
tapiokansleri |
|---|---|
| 更新时间 | 2026年3月25日 23:28 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 6.9 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[kncc_cookie_settings] shortcode — add a cookie settings link anywhere (footer, menu, etc.) with customizable textkansleri-cookie-consent folder to the /wp-content/plugins/ directory, or install directly through the WordPress plugin screen.[kncc_cookie_policy] shortcode to any page.Yes. When enabled under the Integration tab, the plugin outputs consent defaults in <head> before any other scripts, and sends consent update signals whenever a visitor changes their preferences. If Google Site Kit is active, duplicate defaults are automatically avoided.
The scanner loads your homepage in a hidden iframe, reads all cookies, and matches them against a built-in database of known cookie patterns (Google, Meta, WordPress, etc.). Known cookies are added automatically; unknown cookies are presented for categorization with an AI-assisted workflow.
Yes. When WPML or Polylang is active, you can set per-language banner texts, cookie descriptions, banner style, colors, and policy page. Switch to a secondary language in the admin bar and edit the settings. Values not customized for a language fall back to the default language. Cookie names, categories, providers, and durations are shared across all languages.
Yes. The plugin detects Site Kit automatically. If Site Kit is managing consent mode defaults, this plugin skips its own default output and only sends consent updates when visitors make a choice. Consent Mode v2 is forced on when Site Kit is active.
Yes. When the WP Consent API plugin is active, consent status is automatically shared with other plugins that support the API.
Statistics are tracked server-side via lightweight AJAX calls when visitors make a consent choice. No personal data, IP addresses, or tracking cookies are used. Only daily aggregates (accept/reject/custom counts) are stored.
Yes. YouTube and Vimeo iframes are automatically blocked until the visitor accepts marketing cookies. A placeholder is shown in place of the video with an "Accept marketing cookies" button. If the visitor has already accepted cookies via the consent banner, videos load normally without any placeholder.
Use the shortcode [kncc_cookie_settings] in any widget, page, or template. You can customize the link text with [kncc_cookie_settings text="Manage cookies"]. The shortcode is also shown with a copy button in the plugin settings page.
All plugin options (kncc_settings, kncc_cookies, kncc_consent_stats, kncc_incomplete_cookies, kncc_show_activation_notice, kncc_defaults_localized, kncc_cron_error) and the daily cron schedule are removed from the database. The auto-created policy page is not deleted to prevent accidental content loss.
[kncc_cookie_settings] shortcode to add a cookie settings link anywhere (footer, menu, widgets)