{"id":352812,"date":"2026-08-19T12:33:48","date_gmt":"2026-08-19T12:33:48","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/consent-warden\/"},"modified":"2026-08-19T12:18:16","modified_gmt":"2026-08-19T12:18:16","slug":"consent-warden","status":"publish","type":"plugin","link":"https:\/\/sr.wordpress.org\/plugins\/consent-warden\/","author":23527460,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.0","stable_tag":"1.0.0","tested":"7.0.4","requires":"5.9","requires_php":"7.4","requires_plugins":null,"header_name":"Consent Warden","header_author":"LinuxGnut","header_description":"Simple cookie consent banner for GDPR and CCPA compliance. Customisable text, colours, and privacy policy link. Fires a JS event on accept.","assets_banners_color":"576158","last_updated":"2026-08-19 12:18:16","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/linuxgnut.com\/projects\/consent-warden\/","header_author_uri":"https:\/\/linuxgnut.com\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":46,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"linuxgnut","date":"2026-08-19 12:18:16"}},"upgrade_notice":{"1.0.0":"<p>Initial release.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3654575,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3654575,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3654575,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3654575,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3654575,"resolution":"1","location":"assets","locale":"","width":1396,"height":985},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3654575,"resolution":"2","location":"assets","locale":"","width":1358,"height":1231},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3654575,"resolution":"3","location":"assets","locale":"","width":1358,"height":1231},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3654575,"resolution":"4","location":"assets","locale":"","width":1358,"height":1231}},"screenshots":{"1":"The settings page showing banner text, privacy policy link, and colour customisation.","2":"The remaining settings page showing banner text, privacy policy link, and colour customisation.","3":"The consent banner in bottom-bar position with the default styling.","4":"The consent banner in bottom-bar position with the default styling and a privacy policy link."}},"plugin_section":[],"plugin_tags":[166295,20272,16626,131785,396],"plugin_category":[54],"plugin_contributors":[276500],"plugin_business_model":[],"class_list":["post-352812","plugin","type-plugin","status-publish","hentry","plugin_tags-ccpa","plugin_tags-cookie-banner","plugin_tags-cookie-consent","plugin_tags-gdpr","plugin_tags-privacy","plugin_category-security-and-spam-protection","plugin_contributors-linuxgnut","plugin_committers-linuxgnut"],"banners":{"banner":"https:\/\/ps.w.org\/consent-warden\/assets\/banner-772x250.png?rev=3654575","banner_2x":"https:\/\/ps.w.org\/consent-warden\/assets\/banner-1544x500.png?rev=3654575","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/consent-warden\/assets\/icon-128x128.png?rev=3654575","icon_2x":"https:\/\/ps.w.org\/consent-warden\/assets\/icon-256x256.png?rev=3654575","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/consent-warden\/assets\/screenshot-1.png?rev=3654575","caption":"The settings page showing banner text, privacy policy link, and colour customisation."},{"src":"https:\/\/ps.w.org\/consent-warden\/assets\/screenshot-2.png?rev=3654575","caption":"The remaining settings page showing banner text, privacy policy link, and colour customisation."},{"src":"https:\/\/ps.w.org\/consent-warden\/assets\/screenshot-3.png?rev=3654575","caption":"The consent banner in bottom-bar position with the default styling."},{"src":"https:\/\/ps.w.org\/consent-warden\/assets\/screenshot-4.png?rev=3654575","caption":"The consent banner in bottom-bar position with the default styling and a privacy policy link."}],"raw_content":"<!--section=description-->\n<p>Consent Warden adds a clean, accessible cookie consent banner to your WordPress site. Visitors see a simple Accept button with an optional link to your privacy policy. Once accepted, the banner disappears and consent is remembered for up to a year.<\/p>\n\n<p><strong>Free edition features:<\/strong><\/p>\n\n<ul>\n<li>Accept-only banner \u2014 no unnecessary complexity<\/li>\n<li>Three layout positions: bottom bar, bottom-left card, bottom-right card<\/li>\n<li>Customisable heading, message text, and button label<\/li>\n<li>Optional privacy policy link (URL and link text)<\/li>\n<li>Six colour options: background, text, link, accept button, button text, and hover<\/li>\n<li>Configurable consent expiry (1\u20133650 days, default 365)<\/li>\n<li>Fires a <code>cwarden:consent<\/code> JavaScript event on accept \u2014 hook your own scripts to it<\/li>\n<li>Accessible: <code>role=\"region\"<\/code> and <code>aria-label<\/code> on the banner element<\/li>\n<li>Zero external dependencies on the frontend<\/li>\n<li>Consent stored in a <code>cwarden_consent<\/code> cookie with <code>SameSite=Lax<\/code><\/li>\n<li>No data sent to the server \u2014 consent stays on the visitor's device<\/li>\n<\/ul>\n\n<p><strong>Upgrade to Standard or Pro for:<\/strong><\/p>\n\n<ul>\n<li>Granular consent categories (Analytics, Marketing, Preferences) with per-category toggles<\/li>\n<li>Script blocking \u2014 prevent third-party scripts from loading until consent is given (soft dequeue and hard HTML rewrite)<\/li>\n<li>Google Consent Mode v2 integration (gtag \/ GTM)<\/li>\n<li>Full consent log \u2014 record and review visitor consent decisions<\/li>\n<li>Geo-targeting \u2014 show the banner only to visitors in targeted regions (EU, UK, US, Brazil, and custom country lists)<\/li>\n<li>Automatic cookie scanner \u2014 passively discover and categorise cookies set on your site<\/li>\n<\/ul>\n\n<p>Learn more about the Standard and Pro editions at https:\/\/linuxgnut.com\/projects\/consent-warden\/<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to <code>\/wp-content\/plugins\/consent-warden\/<\/code>, or install directly through the WordPress Plugins screen.<\/li>\n<li>Activate the plugin through the <strong>Plugins<\/strong> screen in WordPress.<\/li>\n<li>Go to <strong>Settings \u2192 Consent Warden<\/strong> to configure the banner text, colours, and privacy policy link.<\/li>\n<li>The banner appears on your site until a visitor clicks <strong>Accept<\/strong>.<\/li>\n<\/ol>\n\n<p>No coding required. The banner is ready to use immediately after activation with sensible defaults.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id=\"does%20this%20plugin%20block%20scripts%20or%20cookies%20until%20consent%20is%20given%3F\"><h3>Does this plugin block scripts or cookies until consent is given?<\/h3><\/dt>\n<dd><p>Not in the free edition. The free edition displays a consent notice and records acceptance via a browser cookie. Script blocking (preventing analytics or marketing scripts from loading before consent), Google Consent Mode v2, and per-category consent management are available in the paid editions.<\/p><\/dd>\n<dt id=\"where%20is%20consent%20stored%3F\"><h3>Where is consent stored?<\/h3><\/dt>\n<dd><p>Consent is stored in a browser cookie named <code>cwarden_consent<\/code> on the visitor's device. No consent data is sent to the server or stored in the WordPress database. The cookie uses <code>SameSite=Lax<\/code> and expires after the number of days you configure (default: 365).<\/p><\/dd>\n<dt id=\"what%20javascript%20event%20fires%20when%20a%20visitor%20accepts%3F\"><h3>What JavaScript event fires when a visitor accepts?<\/h3><\/dt>\n<dd><p>The plugin dispatches a <code>cwarden:consent<\/code> CustomEvent on <code>document<\/code> when the visitor clicks Accept. You can listen for it in your own scripts:<\/p>\n\n<pre><code>document.addEventListener('cwarden:consent', function(e) { \/* your code *\/ });\n<\/code><\/pre><\/dd>\n<dt id=\"is%20this%20plugin%20gdpr%20compliant%3F\"><h3>Is this plugin GDPR compliant?<\/h3><\/dt>\n<dd><p>This plugin provides the consent mechanism \u2014 the banner and cookie \u2014 that GDPR requires before setting non-essential cookies. Actual compliance depends on your site as a whole: your privacy policy, the cookies your site sets, and how you process visitor data. Consult a legal professional for advice specific to your situation.<\/p><\/dd>\n<dt id=\"will%20this%20conflict%20with%20other%20cookie%20consent%20plugins%3F\"><h3>Will this conflict with other cookie consent plugins?<\/h3><\/dt>\n<dd><p>You should only run one consent plugin at a time. Deactivate any other cookie consent or GDPR plugins before activating Consent Warden.<\/p><\/dd>\n<dt id=\"how%20do%20i%20reset%20or%20remove%20the%20banner%20for%20a%20specific%20visitor%3F\"><h3>How do I reset or remove the banner for a specific visitor?<\/h3><\/dt>\n<dd><p>The visitor can clear their browser cookies. Alternatively, you can delete the <code>cwarden_consent<\/code> cookie from your browser developer tools to see the banner again.<\/p><\/dd>\n<dt id=\"how%20do%20i%20remove%20all%20plugin%20data%20on%20uninstall%3F\"><h3>How do I remove all plugin data on uninstall?<\/h3><\/dt>\n<dd><p>Deleting the plugin from the WordPress Plugins screen removes all saved settings (<code>cwarden_settings<\/code> option) from the database automatically.<\/p><\/dd>\n<dt id=\"does%20the%20banner%20work%20with%20page%20caching%3F\"><h3>Does the banner work with page caching?<\/h3><\/dt>\n<dd><p>Yes. The banner is rendered in the footer via PHP and shown or hidden client-side based on the consent cookie. It is compatible with full-page caching plugins (WP Super Cache, W3 Total Cache, WP Rocket, etc.) because the consent check runs in the visitor's browser, not on the server.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<\/ul>","raw_excerpt":"Simple cookie consent banner for GDPR and CCPA compliance. Customisable text, colours, and privacy policy link. Fires a JS event on accept.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/sr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/352812","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/sr.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/sr.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=352812"}],"author":[{"embeddable":true,"href":"https:\/\/sr.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/linuxgnut"}],"wp:attachment":[{"href":"https:\/\/sr.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=352812"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/sr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=352812"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/sr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=352812"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/sr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=352812"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/sr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=352812"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/sr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=352812"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}