Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1f1f1b8032 | ||
|
|
0465985426 | ||
|
|
a3d94b6c67 |
9
kgv-cookie.php
Normal file → Executable file
9
kgv-cookie.php
Normal file → Executable file
@@ -1,13 +1,12 @@
|
||||
<?php
|
||||
/**
|
||||
* Plugin Name: KGV Cookie
|
||||
* Plugin URI: https://apex-project.de/
|
||||
* Plugin URI: https://wordpress.apex-project.de/
|
||||
* Description: Einfaches Cookie-Banner mit Einwilligungsverwaltung fuer KGV-Webseiten.
|
||||
* Version: 1.0.7
|
||||
* Version: 1.0.9
|
||||
* Author: Ronny Grobel
|
||||
* Text Domain: kgv-cookie
|
||||
* Author URI: https://apex-project.de/
|
||||
* Plugin URI: https://apex-project.de/
|
||||
* Author URI: https://wordpress.apex-project.de/
|
||||
* Update URI: https://git.apex-project.de/Wordpress_Plugins/KGV-Cookie
|
||||
* Gitea Plugin URI: https://git.apex-project.de/Wordpress_Plugins/KGV-Cookie
|
||||
* Requires Plugins: KGV-Updater
|
||||
@@ -18,7 +17,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
||||
}
|
||||
|
||||
final class KGV_Cookie_Plugin {
|
||||
const VERSION = '1.0.7';
|
||||
const VERSION = '1.0.9';
|
||||
const OPTION_KEY = 'kgv_cookie_settings';
|
||||
const COOKIE_NAME = 'kgv_cookie_consent';
|
||||
|
||||
|
||||
63
readme.txt
Normal file → Executable file
63
readme.txt
Normal file → Executable file
@@ -1,19 +1,52 @@
|
||||
KGV Cookie - WordPress Plugin
|
||||
=== KGV Cookie ===
|
||||
Contributors: ronnygrobel
|
||||
Tags: cookie, consent, datenschutz, banner, gdpr
|
||||
Requires at least: 6.0
|
||||
Tested up to: 6.8
|
||||
Stable tag: 1.0.9
|
||||
Requires PHP: 7.2
|
||||
License: GPLv2 or later
|
||||
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
||||
|
||||
Beschreibung:
|
||||
KGV Cookie zeigt ein Cookie-Banner auf der Website an und speichert die Einwilligung des Besuchers.
|
||||
Einfaches Cookie-Banner mit Einwilligungsverwaltung und Wiederaufruf per Shortcode.
|
||||
|
||||
Features:
|
||||
- Banner mit zwei Auswahloptionen: Alle akzeptieren / Nur notwendige
|
||||
- Speicherung der Entscheidung im Cookie `kgv_cookie_consent`
|
||||
- Einstellungsseite unter Einstellungen > KGV Cookie
|
||||
- Shortcode zum erneuten Oeffnen: [kgv_cookie_settings_link]
|
||||
== Description ==
|
||||
|
||||
Installation:
|
||||
1. Plugin in `wp-content/plugins/KGV-Cookie/` ablegen
|
||||
2. In WordPress aktivieren
|
||||
3. Banner-Text und Datenschutz-URL in den Plugin-Einstellungen setzen
|
||||
KGV Cookie zeigt ein konfigurierbares Cookie-Banner im Frontend an und speichert die Entscheidung der Besucher.
|
||||
|
||||
Hinweis fuer Entwickler:
|
||||
- JavaScript API steht als `window.KGVCookie` bereit.
|
||||
- Event: `kgvCookieConsentChanged`
|
||||
= Features =
|
||||
|
||||
* Banner mit "Alle akzeptieren" und "Nur notwendige"
|
||||
* Speicherung in Cookie `kgv_cookie_consent`
|
||||
* Einstellungsseite unter Einstellungen > KGV Cookie
|
||||
* Shortcode zum Wiederoeffnen der Cookie-Einstellungen
|
||||
|
||||
== Installation ==
|
||||
|
||||
1. Plugin in `wp-content/plugins/KGV-Cookie/` hochladen.
|
||||
2. Plugin im WordPress-Backend aktivieren.
|
||||
3. Banner-Text und Datenschutz-URL konfigurieren.
|
||||
|
||||
== Frequently Asked Questions ==
|
||||
|
||||
= Welcher Shortcode oeffnet die Cookie-Einstellungen erneut? =
|
||||
|
||||
Nutze `[kgv_cookie_settings_link]`.
|
||||
|
||||
= Gibt es ein JavaScript-Event bei Aenderung der Zustimmung? =
|
||||
|
||||
Ja, das Event `kgvCookieConsentChanged` wird im Browser ausgeliefert.
|
||||
|
||||
== Changelog ==
|
||||
|
||||
= 1.0.9 =
|
||||
* Release 1.0.9 erstellt.
|
||||
* Versionsnummer in Plugin-Datei und Readme erhoeht.
|
||||
|
||||
= 1.0.8 =
|
||||
* Versionsabgleich zwischen Plugin-Header, Code und Readme.
|
||||
* WordPress-Readme-Format weiter vereinheitlicht.
|
||||
|
||||
= 1.0.7 =
|
||||
* Aktuelle Version laut Plugin-Header.
|
||||
* Pflege und Verbesserungen der Einwilligungsverwaltung.
|
||||
|
||||
Reference in New Issue
Block a user