From aecd80ef76964efe21020a563c6a074aaaa2839d Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 6 May 2026 10:43:04 +0000 Subject: [PATCH] Rebrand plugin author to nozilla, overhaul shortcode widget - Change plugin author from Datenatlas Zivilgesellschaft to nozilla with GitHub link - Remove all Civora, Piveau, and datenatlas brand references from comments, docs, and settings (functional REST namespace kept) - Shortcode download card: remove quality indicator display, add keywords as tag pills, add metadata JSON-LD download button - License now read from first distribution instead of dataset-level meta - Add frontend CSS for keyword pills and metadata button https://claude.ai/code/session_FEyiS --- assets/css/frontend.css | 28 ++++++++++++ composer.json | 2 +- docs/I18N_IMPLEMENTATION.md | 4 +- includes/class-admin.php | 2 +- includes/class-post-types.php | 2 +- includes/class-rest-api.php | 2 +- includes/class-settings.php | 2 +- includes/class-setup.php | 2 +- includes/class-shortcode.php | 82 ++++++++++++++++++++-------------- open-data-wizard.php | 5 ++- tests/test-fields-extended.php | 2 +- 11 files changed, 88 insertions(+), 45 deletions(-) diff --git a/assets/css/frontend.css b/assets/css/frontend.css index eee119f..46add5b 100644 --- a/assets/css/frontend.css +++ b/assets/css/frontend.css @@ -100,6 +100,34 @@ opacity: 0.65; } +.odw-download-card__button--meta { + margin-left: auto; + font-weight: normal; + opacity: 0.75; + font-size: 0.85em; +} + +.odw-download-card__button--meta:hover { + opacity: 1; +} + +/* Keywords */ +.odw-download-card__keywords { + display: flex; + flex-wrap: wrap; + gap: 0.35rem; + margin-bottom: 1rem; +} + +.odw-download-card__keyword { + display: inline-block; + padding: 0.15em 0.6em; + border: 1px solid currentColor; + border-radius: 99px; + font-size: 0.8em; + opacity: 0.6; +} + /* ========================================================================= Responsive ========================================================================= */ diff --git a/composer.json b/composer.json index 1bf39ed..af84318 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "daimpad/open-data-wizard", - "description": "DCAT-AP 3.0 Open Data Plugin für WordPress — maschinenlesbarer Endpoint für Civora/Piveau-Harvesting", + "description": "DCAT-AP 3.0 Open Data Plugin für WordPress — maschinenlesbarer JSON-LD-Endpoint für offene Daten", "type": "wordpress-plugin", "license": "GPL-2.0-or-later", "require": { diff --git a/docs/I18N_IMPLEMENTATION.md b/docs/I18N_IMPLEMENTATION.md index 74a4953..1f1851a 100644 --- a/docs/I18N_IMPLEMENTATION.md +++ b/docs/I18N_IMPLEMENTATION.md @@ -170,7 +170,7 @@ xgettext \ **Dateiformat:** ``` # Open Data Wizard Translations -# Copyright (C) 2026 Datenatlas Zivilgesellschaft +# Copyright (C) 2026 nozilla # This file is distributed under the same license as the Open Data Wizard package. # msgid "" @@ -244,7 +244,7 @@ grep -c '^msgid ' languages/open-data-wizard.pot ```po # English translation for Open Data Wizard -# Copyright (C) 2026 Datenatlas Zivilgesellschaft +# Copyright (C) 2026 nozilla # This file is distributed under the same license as the Open Data Wizard package. # msgid "" diff --git a/includes/class-admin.php b/includes/class-admin.php index ed609cd..0977cac 100644 --- a/includes/class-admin.php +++ b/includes/class-admin.php @@ -520,7 +520,7 @@ private static function help_content_api(): string { ob_start(); ?> -

+