GDPR Cookie Consent Notice — Free WordPress Plugin
GDPR Cookie Consent Notice
A cookie notice that shows until a visitor accepts it, then stays gone for a year. One file, no settings page, and it finds your privacy policy on its own.
What it does
One job, done in about seventy lines: tell visitors the site uses cookies, and stop telling them once they have said yes.
A notice, until it is accepted
A fixed bar sits at the foot of every page until the visitor presses Accept. That sets a cookie with a one-year expiry and the bar does not come back.
It finds your policy
The Learn more link resolves to the page set under Settings, Privacy, then to a page at /privacy-policy/. If neither exists the link is omitted rather than pointed at a placeholder.
Nothing to configure
No settings page, no database tables, no options to fill in. Activate it and it works.
What ships with it
One PHP file
No build step, no vendor directory, no bundled framework. The whole plugin is readable in a single sitting.
No external requests
Markup, styles and script are inline. Nothing is fetched from another domain, so there is no third-party request added to your pages.
A filter to override
gdpr_cookie_consent_notice_policy_url lets a theme or snippet point the link wherever you need, without editing the plugin.
What it does not do
Worth saying plainly, because the plugin name invites the assumption.
It does not block scripts
Nothing is held back until consent is given. If analytics or advertising tags must wait for an opt-in, you need a consent management platform instead.
It does not record consent
Acceptance lives in a cookie in the visitor’s browser. Nothing is written to your database, so there is no audit log to produce later.
It is not legal advice
No plugin makes a site compliant. What you load, what your policy says and how you handle data is the substance; this is the visible part.
Requirements and download
Download the zip, then in WordPress go to Plugins → Add New → Upload Plugin, choose the file and activate.
WordPress 5.3+
Uses only core functions. It has no dependency on a page builder, a block library or another plugin.
PHP 7.4+
Runs on anything currently supported, including PHP 8.x.
Version 1.0.1
GPL v2 or later. Released 12 September 2026. Download the zip.
GDPR Cookie Consent Notice FAQs
Does this make my site GDPR compliant?
No, and no plugin can. It displays a notice and remembers that the visitor accepted it. Compliance depends on what your site actually loads, what you say in your privacy policy and how you handle the data you collect. Treat this as one visible part of that, not the whole of it.
Does it block cookies or scripts before consent?
No. It shows a notice; it does not gate anything behind acceptance. If you need scripts held back until a visitor opts in, you need a consent management platform, not this.
Where does the Learn more link point?
At the page set under Settings, Privacy in WordPress. If that is not set, it looks for a page at /privacy-policy/. If neither exists, the link is left out rather than pointed somewhere wrong.
How long does acceptance last?
One year. Accepting sets a cookie named gdpr_accepted with a one-year expiry, and the notice stays hidden until it lapses or the visitor clears it.
Does it load anything from another server?
No. There are no external requests, no bundled libraries and no fonts to fetch. The markup, styles and the few lines of script are all inline.
Can I change how it looks?
Yes. It is one readable PHP file with the styles written inline, so the colors, position and wording are all editable in place. It is GPL, so a modified copy is yours to keep or redistribute.
How do I install it?
Download the zip, then in WordPress go to Plugins, Add New, Upload Plugin, choose the file and activate. There is no settings page — it starts working as soon as it is active.
Need the site built, not just the plugin?
We build, host and maintain WordPress sites. Tell us what you run and we will reply with the right next step in writing.
Talk to Us