Beskrivning
SunnyGDPR provides a simple, ultra-fast, and compliant cookie banner for your WordPress website. Built with performance in mind, it utilizes vanilla JavaScript without external libraries like jQuery.
If a user declines the cookie policy, the plugin redirects them to an isolated static HTML page (cookie-declined.html), preventing unnecessary MySQL queries and heavy WordPress execution while restricting access to the platform.
Key Features
- Lightweight & Fast: Pure Vanilla JS and clean CSS.
- Autonomous Decline Handler: Static HTML response for declined users to save server resources.
- Fully Customizable: Easily edit text, button labels, and redirect URLs from the WordPress admin panel.
- GDPR Ready: Sets standard 1-year consent cookies (
sunnygdpr_consent). - Clean Uninstall: Automatically removes all stored settings upon uninstallation.
Installation
- Upload the
sunnygdprfolder to your/wp-content/plugins/directory (or upload the.zipfile via WP Admin). - Activate the plugin through the ’Plugins’ menu in WordPress.
- Go to Settings -> SunnyGDPR to configure your banner text and preferences.
Vanliga frågor
-
Does this plugin affect site speed?
-
No. SunnyGDPR uses pure JavaScript without heavy external libraries. It has virtually zero impact on page loading performance.
-
Where are the plugin settings stored?
-
All options are saved under a single array key
sunnygdpr_optionsin your WordPress options table. -
The user is redirected to a static HTML page (
cookie-declined.html) located inside the plugin directory. They will not be able to browse the site until they accept the cookie policy.
Recensioner
Detta tillägg har inga recensioner.
Bidragsgivare och utvecklare
”SunnyGDPR” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.
Bidragande personerÖversätt ”SunnyGDPR” till ditt språk.
Intresserad av programutveckling?
Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.
Ändringslogg
1.0.0
- Initial official release.

