{"id":130501,"date":"2020-11-05T00:03:34","date_gmt":"2020-11-05T00:03:34","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/kjrocker-cookie-consent\/"},"modified":"2026-04-12T02:40:09","modified_gmt":"2026-04-12T02:40:09","slug":"kjrocker-cookie-consent","status":"publish","type":"plugin","link":"https:\/\/nb.wordpress.org\/plugins\/kjrocker-cookie-consent\/","author":12578879,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.2.0","stable_tag":"1.2.0","tested":"6.7.5","requires":"5.0","requires_php":"7.4","requires_plugins":null,"header_name":"kjrocker Cookie Consent","header_author":"KjRocker","header_description":"kjrocker Cookie Consent informs users that your site uses cookies.","assets_banners_color":"6d7895","last_updated":"2026-04-12 02:40:09","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/kjrocker-cookie-consent\/","header_author_uri":"https:\/\/kjrocker.com","rating":5,"author_block_rating":0,"active_installs":10,"downloads":1227,"num_ratings":2,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.1.4":{"tag":"1.1.4","author":"kj Rocker","date":"2023-12-25 13:53:49"},"1.2.0":{"tag":"1.2.0","author":"kj Rocker","date":"2026-04-12 02:40:09"}},"upgrade_notice":{"1.2.0":"<p>Major update with security improvements, PHP 8.x compatibility, and new compliance modes. Settings are preserved on upgrade.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":2},"assets_icons":{"icon-256x256.jpeg":{"filename":"icon-256x256.jpeg","revision":3013484,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-772x250.jpeg":{"filename":"banner-772x250.jpeg","revision":3014154,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.1.4","1.2.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3014373,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3014373,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3014373,"resolution":"3","location":"assets","locale":""},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3014373,"resolution":"4","location":"assets","locale":""}},"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[20272,16626,14362,131785,396],"plugin_category":[54],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-130501","plugin","type-plugin","status-publish","hentry","plugin_tags-cookie-banner","plugin_tags-cookie-consent","plugin_tags-cookie-law","plugin_tags-gdpr","plugin_tags-privacy","plugin_category-security-and-spam-protection","plugin_committers-kj-rocker"],"banners":{"banner":"https:\/\/ps.w.org\/kjrocker-cookie-consent\/assets\/banner-772x250.jpeg?rev=3014154","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/kjrocker-cookie-consent\/assets\/icon-256x256.jpeg?rev=3013484","icon_2x":"https:\/\/ps.w.org\/kjrocker-cookie-consent\/assets\/icon-256x256.jpeg?rev=3013484","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/kjrocker-cookie-consent\/assets\/screenshot-1.png?rev=3014373","caption":""},{"src":"https:\/\/ps.w.org\/kjrocker-cookie-consent\/assets\/screenshot-2.png?rev=3014373","caption":""},{"src":"https:\/\/ps.w.org\/kjrocker-cookie-consent\/assets\/screenshot-3.png?rev=3014373","caption":""},{"src":"https:\/\/ps.w.org\/kjrocker-cookie-consent\/assets\/screenshot-4.png?rev=3014373","caption":""}],"raw_content":"<!--section=description-->\n<p><strong>kjrocker Cookie Consent<\/strong> helps your WordPress site comply with EU Cookie Law, GDPR, and ePrivacy regulations by displaying a clean, configurable cookie consent banner.<\/p>\n\n<h4>Features<\/h4>\n\n<ul>\n<li>Simple, clean banner \u2014 bottom or top of screen<\/li>\n<li>Fully customisable colours via an admin colour picker<\/li>\n<li>Accept and\/or Decline buttons<\/li>\n<li>Optional link to your Privacy Policy page<\/li>\n<li>Three compliance modes: Opt-in (GDPR), Opt-out (CCPA), or Informational<\/li>\n<li>Smooth slide-in animation (optional)<\/li>\n<li>Auto-dismiss after N seconds (optional)<\/li>\n<li>Configurable cookie name and expiry period<\/li>\n<li>Cookies set with <code>SameSite=Lax; Secure<\/code> for modern browser compatibility<\/li>\n<li>PHP 8.x compatible<\/li>\n<li>Translation ready<\/li>\n<\/ul>\n\n<h4>Compliance Modes<\/h4>\n\n<ul>\n<li><strong>Opt-in (GDPR)<\/strong> \u2014 The consent cookie is only set after the user clicks Accept.<\/li>\n<li><strong>Opt-out (CCPA)<\/strong> \u2014 Assumes consent; the cookie is set on page load. User can still decline.<\/li>\n<li><strong>Informational<\/strong> \u2014 Banner displayed for information only; no consent tracking.<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>kjrocker-cookie-consent<\/code> folder to <code>\/wp-content\/plugins\/<\/code>.<\/li>\n<li>Activate the plugin through the <strong>Plugins<\/strong> menu in WordPress.<\/li>\n<li>Go to <strong>Settings \u2192 Cookie Consent<\/strong> to configure the banner.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"does%20this%20plugin%20make%20my%20site%20gdpr%20compliant%3F\"><h3>Does this plugin make my site GDPR compliant?<\/h3><\/dt>\n<dd><p>This plugin provides a cookie consent banner as one component of GDPR compliance. Full compliance depends on your overall data processing practices.<\/p><\/dd>\n<dt id=\"can%20i%20change%20the%20banner%20text%3F\"><h3>Can I change the banner text?<\/h3><\/dt>\n<dd><p>Yes \u2014 all text, colours, and behaviour are configurable from <strong>Settings \u2192 Cookie Consent<\/strong>.<\/p><\/dd>\n<dt id=\"will%20this%20slow%20down%20my%20website%3F\"><h3>Will this slow down my website?<\/h3><\/dt>\n<dd><p>No. The plugin loads a small CSS file and a minimal JavaScript file only on the frontend.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.2.0<\/h4>\n\n<ul>\n<li>Full rewrite: converted to OOP (class-based) architecture<\/li>\n<li>PHP 8.x compatibility fixes<\/li>\n<li>Added proper sanitize_callback to register_setting()<\/li>\n<li>Added nonce verification on settings form<\/li>\n<li>Added SameSite=Lax; Secure cookie attributes<\/li>\n<li>Added three compliance modes: opt-in, opt-out, informational<\/li>\n<li>Added Decline button with configurable colour<\/li>\n<li>Added AJAX consent recording hook for server-side logging<\/li>\n<li>Added auto-dismiss feature<\/li>\n<li>Added \"Settings\" shortcut link on Plugins page<\/li>\n<li>Fixed \"Cookie Concent\" typo in admin heading<\/li>\n<li>Fixed Stable Tag SVN configuration<\/li>\n<li>Improved admin UI with card-based grid layout<\/li>\n<li>Improved accessibility: ARIA attributes on banner, focus styles<\/li>\n<\/ul>\n\n<h4>1.1.5<\/h4>\n\n<ul>\n<li>Minor updates<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Added colour picker for banner customisation<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"A lightweight, customisable GDPR \/ ePrivacy cookie consent banner. Easy to configure \u2014 colours, position, text, and behaviour all from the admin panel &hellip;","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/nb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/130501","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/nb.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/nb.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=130501"}],"author":[{"embeddable":true,"href":"https:\/\/nb.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/kj-rocker"}],"wp:attachment":[{"href":"https:\/\/nb.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=130501"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/nb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=130501"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/nb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=130501"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/nb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=130501"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/nb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=130501"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/nb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=130501"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}