Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
077cf2fd4c | ||
|
|
1354307bb5 | ||
|
|
518b311031 |
@@ -3,9 +3,14 @@
|
|||||||
* Plugin Name: KGV Cookie
|
* Plugin Name: KGV Cookie
|
||||||
* Plugin URI: https://apex-project.de/
|
* Plugin URI: https://apex-project.de/
|
||||||
* Description: Einfaches Cookie-Banner mit Einwilligungsverwaltung fuer KGV-Webseiten.
|
* Description: Einfaches Cookie-Banner mit Einwilligungsverwaltung fuer KGV-Webseiten.
|
||||||
* Version: 1.0.0
|
* Version: 1.0.5
|
||||||
* Author: Ronny Grobel
|
* Author: Ronny Grobel
|
||||||
* Text Domain: kgv-cookie
|
* Text Domain: kgv-cookie
|
||||||
|
* Author URI: https://apex-project.de/
|
||||||
|
* Plugin URI: https://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
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) {
|
if ( ! defined( 'ABSPATH' ) ) {
|
||||||
@@ -13,7 +18,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
final class KGV_Cookie_Plugin {
|
final class KGV_Cookie_Plugin {
|
||||||
const VERSION = '1.0.0';
|
const VERSION = '1.0.4';
|
||||||
const OPTION_KEY = 'kgv_cookie_settings';
|
const OPTION_KEY = 'kgv_cookie_settings';
|
||||||
const COOKIE_NAME = 'kgv_cookie_consent';
|
const COOKIE_NAME = 'kgv_cookie_consent';
|
||||||
|
|
||||||
@@ -181,7 +186,7 @@ final class KGV_Cookie_Plugin {
|
|||||||
<div class="kgv-cookie-banner__text">
|
<div class="kgv-cookie-banner__text">
|
||||||
<p><?php echo esc_html( $settings['banner_text'] ); ?></p>
|
<p><?php echo esc_html( $settings['banner_text'] ); ?></p>
|
||||||
<?php if ( '' !== $privacy_url ) : ?>
|
<?php if ( '' !== $privacy_url ) : ?>
|
||||||
<p><a href="<?php echo esc_url( $privacy_url ); ?>">Datenschutzerklaerung</a></p>
|
<p><a href="<?php echo esc_url( $privacy_url ); ?>">Datenschutzerklärung</a></p>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</div>
|
</div>
|
||||||
<div class="kgv-cookie-banner__actions">
|
<div class="kgv-cookie-banner__actions">
|
||||||
|
|||||||
Reference in New Issue
Block a user