diff --git a/functions/options/class-sunflowersettingspage.php b/functions/options/class-sunflowersettingspage.php index fa0ea1fb..be039f6f 100644 --- a/functions/options/class-sunflowersettingspage.php +++ b/functions/options/class-sunflowersettingspage.php @@ -107,6 +107,14 @@ public function sunflower_settings_page_init(): void { 'sunflower_theme_variant' ); + add_settings_field( + 'sunflower_post_image_format', + __( 'Post Image Format', 'sunflower' ), + array( $this, 'sunflower_post_image_format_callback' ), + 'sunflower-setting-admin', + 'sunflower_theme_variant' + ); + add_settings_field( 'sunflower_footer_layout', __( 'Footer Color Variant', 'sunflower' ), @@ -358,6 +366,29 @@ public function sunflower_color_scheme_callback(): void { echo ''; } + /** + * Post image format variant field + */ + public function sunflower_post_image_format_callback(): void { + echo ''; + } + /** * Footer layout variant field */ diff --git a/functions/update.php b/functions/update.php index 7409d6ee..0cb0b085 100644 --- a/functions/update.php +++ b/functions/update.php @@ -88,6 +88,7 @@ function sunflower_maybe_run_theme_update() { */ function sunflower_run_update_tasks( $from_version ) { + // Option sunflower_events_enabled was added in 2.2.15, so we need to enable it for users updating from a version older than that. if ( version_compare( $from_version, '2.2.15', '<' ) ) { $is_sunflower_events_enabled = sunflower_get_setting( 'sunflower_events_enabled' ); @@ -103,4 +104,12 @@ function sunflower_run_update_tasks( $from_version ) { // Flush rewrite rules later on custom post registration. update_option( 'sunflower_flush_rewrite_rules', 1 ); } + + if ( version_compare( $from_version, '3.0.0', '<' ) ) { + // If updating from a version older than 3.0.0, set the default post image format to 'flexible'. + + $sunflower_options = get_option( 'sunflower_options' ); + $sunflower_options['sunflower_post_image_format'] = 'flexible'; + update_option( 'sunflower_options', $sunflower_options ); + } } diff --git a/languages/de_DE.mo b/languages/de_DE.mo index 630c4eeb..1ebe1478 100644 Binary files a/languages/de_DE.mo and b/languages/de_DE.mo differ diff --git a/languages/de_DE.po b/languages/de_DE.po index b6433530..2967d5af 100644 --- a/languages/de_DE.po +++ b/languages/de_DE.po @@ -4,7 +4,7 @@ msgid "" msgstr "" "Project-Id-Version: sunflower 2.1.0\n" "Report-Msgid-Bugs-To: https://wordpress.org/support/theme/sunflower26\n" -"POT-Creation-Date: 2026-02-05T13:18:34+01:00\n" +"POT-Creation-Date: 2026-04-01T10:54:28+02:00\n" "PO-Revision-Date: \n" "Last-Translator: \n" "Language-Team: \n" @@ -54,7 +54,7 @@ msgstr "Leider wurde die Seite nicht gefunden. Möchtest du suchen?" msgid "Events archive" msgstr "Vergangene Veranstaltungen" -#: archive-sunflower_event.php:39 functions/events.php:44 +#: archive-sunflower_event.php:39 functions/events.php:46 #: functions/options/class-sunflowereventsettingspage.php:34 #: functions/options/class-sunflowereventsettingspage.php:35 #: functions/options/class-sunflowereventsettingspage.php:226 @@ -65,7 +65,7 @@ msgstr "Termine" msgid "to upcoming events" msgstr "Zu den kommenden Veranstaltungen" -#: archive-sunflower_event.php:49 build/next-events/render.php:66 +#: archive-sunflower_event.php:49 build/next-events/render.php:61 #: src/next-events/render.php:61 msgid "all events" msgstr "Alle Termine" @@ -74,7 +74,7 @@ msgstr "Alle Termine" msgid "Archive" msgstr "Archiv" -#: archive-sunflower_event.php:57 functions/events.php:298 +#: archive-sunflower_event.php:57 functions/events.php:308 #: functions/options/class-sunflowereventsettingspage.php:184 msgid "Map" msgstr "Landkarte" @@ -111,11 +111,11 @@ msgstr "zurück" msgid "next" msgstr "vor" -#: build/latest-posts/render.php:106 src/latest-posts/render.php:106 +#: build/latest-posts/render.php:119 src/latest-posts/render.php:119 msgid "No posts found" msgstr "Keine Beiträge gefunden" -#: build/next-events/render.php:51 src/next-events/render.php:46 +#: build/next-events/render.php:46 src/next-events/render.php:46 msgid "Currently there are no coming events." msgstr "Derzeit sind keine Veranstaltungen geplant." @@ -161,7 +161,7 @@ msgid "Sunflower Settings Page" msgstr "Sunflower-Einstellungen" #. translators: %1$s and %2$s are replaced with links -#: functions/admin.php:48 +#: functions/admin.php:53 #, php-format msgid "" "Thank you for using sunflower theme. Sunflower is %1$s and maintained by " @@ -170,16 +170,16 @@ msgstr "" "Danke, dass Du das Sunflower-Theme nutzt. Sunflower ist %1$s und wird von " "%2$s entwickelt." -#: functions/admin.php:54 +#: functions/admin.php:59 msgid "More information can be found on the sunflower theme settings page" msgstr "Mehr Infos gibt es auf der Sunflower-Einstellungsseite" -#: functions/admin.php:74 +#: functions/admin.php:83 msgid "PHP Version End of Life" msgstr "PHP-Version veraltet" #. translators: %1$s is replace with current PHP version and %2$s is replaced with link -#: functions/admin.php:84 +#: functions/admin.php:93 #, php-format msgid "" "

You are using PHP %1$s which Wenn ihr auf der Suche nach einem Web-Hosting-Anbieter " "mit Haltung seid, schaut doch mal bei %2$s vorbei.

" -#: functions/admin.php:114 +#: functions/admin.php:127 msgid "New Terms and Use Settings" msgstr "Neue Einstellung Nutzungsbedingungen" -#: functions/admin.php:118 +#: functions/admin.php:131 msgid "" "There is a new option on the Sunflower->First Steps page.
\n" @@ -218,21 +218,54 @@ msgstr "" " Wenn Du weiterhin die Sonnenblume im Menü, im Footer und als " "Favicon nutzen möchtest, lies und akzeptiere die Nutzungsbedingungen." -#: functions/admin.php:217 +#: functions/admin.php:230 msgid "a free WordPress theme by" msgstr "ein kostenloses WordPress-Theme der" -#: functions/admin.php:230 functions/block-patterns.php:24 +#: functions/admin.php:243 functions/block-patterns.php:24 #: functions/blocks.php:19 #: functions/options/class-sunflowerfirststepspage.php:33 #: functions/options/class-sunflowerfirststepspage.php:34 msgid "Sunflower" msgstr "Sunflower" -#: functions/admin.php:257 +#: functions/admin.php:270 msgid "Help for sunflowers events" msgstr "Hilfe für Sunflower-Termine" +#: functions/class-sunflower-contact-widget.php:23 +#, fuzzy +#| msgid "Startdate" +msgid "Kontaktdaten" +msgstr "Startdatum" + +#: functions/class-sunflower-contact-widget.php:25 +msgid "" +"Zeigt Kontaktdaten mit Icons an (Adresse, Telefon, E-Mail, Öffnungszeiten)." +msgstr "" + +#: functions/class-sunflower-contact-widget.php:124 +msgid "Titel" +msgstr "" + +#: functions/class-sunflower-contact-widget.php:128 +msgid "Adresse" +msgstr "" + +#: functions/class-sunflower-contact-widget.php:132 +msgid "Telefon" +msgstr "" + +#: functions/class-sunflower-contact-widget.php:136 +#, fuzzy +#| msgid "Mail" +msgid "E-Mail" +msgstr "E-Mail" + +#: functions/class-sunflower-contact-widget.php:140 +msgid "Öffnungszeiten" +msgstr "" + #: functions/contact-form.php:24 msgid "Form not sent. Captcha wrong. Please try again." msgstr "" @@ -279,11 +312,11 @@ msgstr "URL der Organisator*in" msgid "Show map on event" msgstr "Zeige Karte beim Termin" -#: functions/events.php:45 functions/events.php:100 +#: functions/events.php:47 functions/events.php:110 msgid "Event" msgstr "Termin" -#: functions/events.php:246 +#: functions/events.php:256 msgid "" "This event will be imported by remote ical-calendar. All changes here will " "be overwritten." @@ -291,15 +324,15 @@ msgstr "" "Dieser Termin wird automatisch über einen externen Kalender gepflegt. Alle " "Änderungen hier werden regelmäßig überschrieben." -#: functions/events.php:299 +#: functions/events.php:309 msgid "Load map and fix location marker" msgstr "Karte laden und Postion korrigieren" -#: functions/events.php:585 +#: functions/events.php:595 msgid "Event date" msgstr "Datum der Veranstaltung" -#: functions/events.php:586 +#: functions/events.php:596 msgid "Event location" msgstr "Ort" @@ -332,7 +365,7 @@ msgstr "" "Barrierefreiheit zu verbessern." #: functions/metaboxes.php:15 -#: functions/options/class-sunflowersettingspage.php:108 +#: functions/options/class-sunflowersettingspage.php:128 msgid "Layout" msgstr "Layout" @@ -369,6 +402,7 @@ msgid "use Shift + Enter to prevent line between" msgstr "Wähle SHIFT + ENTER, um Zwischenzeile zu verhindern" #: functions/options/class-sunflowereventsettingspage.php:50 +#: functions/options/class-sunflowersettingspage.php:63 #: functions/options/class-sunflowersocialmediasettingspage.php:50 msgid "Sunflower Settings" msgstr "Sunflower-Einstellungen" @@ -547,135 +581,147 @@ msgstr "stabile Version" msgid "beta" msgstr "beta (Testversionen)" -#: functions/options/class-sunflowersettingspage.php:77 +#: functions/options/class-sunflowersettingspage.php:89 msgid "Theme variant" msgstr "Designvariante" -#: functions/options/class-sunflowersettingspage.php:84 +#: functions/options/class-sunflowersettingspage.php:96 msgid "Shape Style" msgstr "Formensprache" -#: functions/options/class-sunflowersettingspage.php:92 +#: functions/options/class-sunflowersettingspage.php:104 msgid "Color Mood" msgstr "Farbstimmung" -#: functions/options/class-sunflowersettingspage.php:100 +#: functions/options/class-sunflowersettingspage.php:112 +msgid "Post Image Format" +msgstr "Beitragsbild Format" + +#: functions/options/class-sunflowersettingspage.php:120 msgid "Footer Color Variant" msgstr "Fußzeilen-Farbvariante" -#: functions/options/class-sunflowersettingspage.php:115 +#: functions/options/class-sunflowersettingspage.php:135 msgid "Excerpt length (words)" msgstr "Anzahl der Wörter im Vorschautext" -#: functions/options/class-sunflowersettingspage.php:123 -#: functions/options/class-sunflowersettingspage.php:129 +#: functions/options/class-sunflowersettingspage.php:143 +#: functions/options/class-sunflowersettingspage.php:149 msgid "show related posts" msgstr "Ähnliche Artikel zeigen" -#: functions/options/class-sunflowersettingspage.php:135 +#: functions/options/class-sunflowersettingspage.php:155 msgid "show author of posts" msgstr "Zeige Autor*in" -#: functions/options/class-sunflowersettingspage.php:141 +#: functions/options/class-sunflowersettingspage.php:161 msgid "Show post author on post details and via REST api." msgstr "Zeige den/die Autor*in im Beitrag und über die REST-API." -#: functions/options/class-sunflowersettingspage.php:147 -#: functions/options/class-sunflowersettingspage.php:153 +#: functions/options/class-sunflowersettingspage.php:167 +#: functions/options/class-sunflowersettingspage.php:173 msgid "hide previous and next links" msgstr "Verstecke Vor- und Zurück-Links" -#: functions/options/class-sunflowersettingspage.php:159 -#: functions/options/class-sunflowersettingspage.php:163 +#: functions/options/class-sunflowersettingspage.php:179 +#: functions/options/class-sunflowersettingspage.php:183 msgid "to-field for contact-forms" msgstr "an diese Adresse werden Kontaktformulare geschickt" -#: functions/options/class-sunflowersettingspage.php:168 +#: functions/options/class-sunflowersettingspage.php:188 msgid "items in menu" msgstr "Einträge im Menü" -#: functions/options/class-sunflowersettingspage.php:174 +#: functions/options/class-sunflowersettingspage.php:194 msgid "items with href=# in the main menu are placeholders for submenu" msgstr "Einträge mit Linkziel=# sind Platzhalter für das Untermenü" -#: functions/options/class-sunflowersettingspage.php:180 -#: functions/options/class-sunflowersettingspage.php:184 +#: functions/options/class-sunflowersettingspage.php:200 +#: functions/options/class-sunflowersettingspage.php:204 msgid "Show social media icons in header" msgstr "Social-Media-Icons im Header anzeigen" -#: functions/options/class-sunflowersettingspage.php:189 +#: functions/options/class-sunflowersettingspage.php:209 msgid "Show list of categories on category archive" msgstr "Zeige Liste von Kategorien auf Kategorie-Seite" -#: functions/options/class-sunflowersettingspage.php:197 +#: functions/options/class-sunflowersettingspage.php:217 msgid "Enhance SEO" msgstr "SEO verbessern" -#: functions/options/class-sunflowersettingspage.php:203 +#: functions/options/class-sunflowersettingspage.php:223 msgid "Set website name in page metadata" msgstr "Webseitenname in den Seiten-Metadaten" -#: functions/options/class-sunflowersettingspage.php:209 +#: functions/options/class-sunflowersettingspage.php:229 msgid "Media creator field" msgstr "Medien Urheber*in" -#: functions/options/class-sunflowersettingspage.php:247 +#: functions/options/class-sunflowersettingspage.php:267 msgid "Select the visual appearance of your theme." msgstr "Wählen Sie das visuelle Erscheinungsbild Ihres Themes aus." -#: functions/options/class-sunflowersettingspage.php:259 +#: functions/options/class-sunflowersettingspage.php:279 msgid "Various theme settings" msgstr "Verschiedene Theme Einstellungen" -#: functions/options/class-sunflowersettingspage.php:310 +#: functions/options/class-sunflowersettingspage.php:330 msgid "Rounded" msgstr "Abgerundet" -#: functions/options/class-sunflowersettingspage.php:311 +#: functions/options/class-sunflowersettingspage.php:331 msgid "Sharp" msgstr "Eckig" -#: functions/options/class-sunflowersettingspage.php:333 +#: functions/options/class-sunflowersettingspage.php:353 msgid "Light" msgstr "Hell" -#: functions/options/class-sunflowersettingspage.php:334 +#: functions/options/class-sunflowersettingspage.php:354 msgid "Dark" msgstr "Dunkel" -#: functions/options/class-sunflowersettingspage.php:356 +#: functions/options/class-sunflowersettingspage.php:376 +msgid "Modern" +msgstr "Modern" + +#: functions/options/class-sunflowersettingspage.php:377 +msgid "Flexible" +msgstr "Flexibel" + +#: functions/options/class-sunflowersettingspage.php:399 msgid "Sand" msgstr "Sandfarben" -#: functions/options/class-sunflowersettingspage.php:357 +#: functions/options/class-sunflowersettingspage.php:400 msgid "Light Green" msgstr "Hellgrün" -#: functions/options/class-sunflowersettingspage.php:380 +#: functions/options/class-sunflowersettingspage.php:423 msgid "do not show" msgstr "keine Anzeige" -#: functions/options/class-sunflowersettingspage.php:381 +#: functions/options/class-sunflowersettingspage.php:424 msgid "main categories" msgstr "Hauptkategorien" -#: functions/options/class-sunflowersettingspage.php:382 +#: functions/options/class-sunflowersettingspage.php:425 msgid "only sub-categories" msgstr "nur Unter-Kategorien" -#: functions/options/class-sunflowersettingspage.php:404 +#: functions/options/class-sunflowersettingspage.php:447 msgid "optional" msgstr "optional" -#: functions/options/class-sunflowersettingspage.php:405 +#: functions/options/class-sunflowersettingspage.php:448 msgid "required" msgstr "verpflichtend" -#: functions/options/class-sunflowersettingspage.php:406 +#: functions/options/class-sunflowersettingspage.php:449 msgid "strict (The image is blurred if no creator field is filled out.)" msgstr "streng (Bild wird verpixelt, wenn Urheber*in leer ist.)" -#: functions/options/class-sunflowersettingspage.php:407 +#: functions/options/class-sunflowersettingspage.php:450 msgid "disabled" msgstr "deaktiviert" @@ -795,6 +841,34 @@ msgstr "Lightbox schließen" msgid "Login error. Did you mistype s.th.?" msgstr "Loginfehler. Hast du dich vertippt?" +#: functions/widgets.php:19 +#, fuzzy +#| msgid "Footer Style" +msgid "Footer Mitte" +msgstr "Fußzeilen-Stil" + +#: functions/widgets.php:21 +msgid "Bereich in der Footer-Mitte für Kontakt-Widget" +msgstr "" + +#: functions/widgets.php:31 +#, fuzzy +#| msgid "Footer Style" +msgid "Footer Rechts" +msgstr "Fußzeilen-Stil" + +#: functions/widgets.php:33 +msgid "Bereich rechts im Footer für die Suche" +msgstr "" + +#: functions/widgets.php:43 +msgid "Header (nach Logo)" +msgstr "" + +#: functions/widgets.php:45 +msgid "Bereich im Header für die Suche" +msgstr "" + #: header.php:33 msgid "Skip to content" msgstr "Weiter zum Inhalt" @@ -848,7 +922,11 @@ msgstr "Sende E-Mail" msgid "Search Results for: %s" msgstr "Suchergebnisse für „%s“" -#: single-sunflower_event.php:61 template-parts/archive-event.php:54 +#: searchform.php:16 searchform.php:22 +msgid "Suche" +msgstr "" + +#: single-sunflower_event.php:61 template-parts/archive-event.php:60 msgid "o'clock" msgstr "Uhr" @@ -939,6 +1017,16 @@ msgstr "Weiterlesen \"%s\"" msgid "none" msgstr "keine" +#: template-parts/header-standard.php:13 +#, fuzzy +#| msgid "Topmenu" +msgid "Top menu" +msgstr "Menü am oberen Rand" + +#: template-parts/header-standard.php:95 +msgid "Menu" +msgstr "" + #: build/core/cover/index.js:139 src/core/cover/index.js:18 #: build/core/cover/index.js:77 msgid "Sunflower Hero" @@ -1050,9 +1138,6 @@ msgstr "" #~ msgid "Recent News" #~ msgstr "Aktuelles" -#~ msgid "Footer Style" -#~ msgstr "Fußzeilen-Stil" - #~ msgid "Use this form style" #~ msgstr "Form Style" diff --git a/languages/sunflower.pot b/languages/sunflower.pot index 874cea9f..56b2ec53 100644 --- a/languages/sunflower.pot +++ b/languages/sunflower.pot @@ -2,14 +2,14 @@ # This file is distributed under the GNU General Public License v2 or later. msgid "" msgstr "" -"Project-Id-Version: Sunflower 26 3.0.0-alpha-5\n" +"Project-Id-Version: Sunflower 26 3.0.0-beta-7\n" "Report-Msgid-Bugs-To: https://wordpress.org/support/theme/sunflower26\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"POT-Creation-Date: 2026-02-05T13:18:34+01:00\n" +"POT-Creation-Date: 2026-04-01T10:54:28+02:00\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "X-Generator: WP-CLI 2.12.0\n" "X-Domain: sunflower\n" @@ -52,7 +52,7 @@ msgid "Events archive" msgstr "" #: archive-sunflower_event.php:39 -#: functions/events.php:44 +#: functions/events.php:46 #: functions/options/class-sunflowereventsettingspage.php:34 #: functions/options/class-sunflowereventsettingspage.php:35 #: functions/options/class-sunflowereventsettingspage.php:226 @@ -64,7 +64,7 @@ msgid "to upcoming events" msgstr "" #: archive-sunflower_event.php:49 -#: build/next-events/render.php:66 +#: build/next-events/render.php:61 #: src/next-events/render.php:61 msgid "all events" msgstr "" @@ -74,7 +74,7 @@ msgid "Archive" msgstr "" #: archive-sunflower_event.php:57 -#: functions/events.php:298 +#: functions/events.php:308 #: functions/options/class-sunflowereventsettingspage.php:184 msgid "Map" msgstr "" @@ -117,12 +117,12 @@ msgstr "" msgid "next" msgstr "" -#: build/latest-posts/render.php:106 -#: src/latest-posts/render.php:106 +#: build/latest-posts/render.php:119 +#: src/latest-posts/render.php:119 msgid "No posts found" msgstr "" -#: build/next-events/render.php:51 +#: build/next-events/render.php:46 #: src/next-events/render.php:46 msgid "Currently there are no coming events." msgstr "" @@ -163,21 +163,21 @@ msgid "Sunflower Settings Page" msgstr "" #. translators: %1$s and %2$s are replaced with links -#: functions/admin.php:48 +#: functions/admin.php:53 #, php-format msgid "Thank you for using sunflower theme. Sunflower is %1$s and maintained by %2$s." msgstr "" -#: functions/admin.php:54 +#: functions/admin.php:59 msgid "More information can be found on the sunflower theme settings page" msgstr "" -#: functions/admin.php:74 +#: functions/admin.php:83 msgid "PHP Version End of Life" msgstr "" #. translators: %1$s is replace with current PHP version and %2$s is replaced with link -#: functions/admin.php:84 +#: functions/admin.php:93 #, php-format msgid "" "

You are using PHP %1$s which is not supported anymore!

\n" @@ -187,21 +187,21 @@ msgid "" "

If you are looking for a web hosting service with attitute, have look at %2$s.

" msgstr "" -#: functions/admin.php:114 +#: functions/admin.php:127 msgid "New Terms and Use Settings" msgstr "" -#: functions/admin.php:118 +#: functions/admin.php:131 msgid "" "There is a new option on the Sunflower->First Steps page.
\n" " If you continue to use the sunflower icons in menue, footer and as favicon, please read and accept the terms of use." msgstr "" -#: functions/admin.php:217 +#: functions/admin.php:230 msgid "a free WordPress theme by" msgstr "" -#: functions/admin.php:230 +#: functions/admin.php:243 #: functions/block-patterns.php:24 #: functions/blocks.php:19 #: functions/options/class-sunflowerfirststepspage.php:33 @@ -209,10 +209,38 @@ msgstr "" msgid "Sunflower" msgstr "" -#: functions/admin.php:257 +#: functions/admin.php:270 msgid "Help for sunflowers events" msgstr "" +#: functions/class-sunflower-contact-widget.php:23 +msgid "Kontaktdaten" +msgstr "" + +#: functions/class-sunflower-contact-widget.php:25 +msgid "Zeigt Kontaktdaten mit Icons an (Adresse, Telefon, E-Mail, Öffnungszeiten)." +msgstr "" + +#: functions/class-sunflower-contact-widget.php:124 +msgid "Titel" +msgstr "" + +#: functions/class-sunflower-contact-widget.php:128 +msgid "Adresse" +msgstr "" + +#: functions/class-sunflower-contact-widget.php:132 +msgid "Telefon" +msgstr "" + +#: functions/class-sunflower-contact-widget.php:136 +msgid "E-Mail" +msgstr "" + +#: functions/class-sunflower-contact-widget.php:140 +msgid "Öffnungszeiten" +msgstr "" + #: functions/contact-form.php:24 msgid "Form not sent. Captcha wrong. Please try again." msgstr "" @@ -257,24 +285,24 @@ msgstr "" msgid "Show map on event" msgstr "" -#: functions/events.php:45 -#: functions/events.php:100 +#: functions/events.php:47 +#: functions/events.php:110 msgid "Event" msgstr "" -#: functions/events.php:246 +#: functions/events.php:256 msgid "This event will be imported by remote ical-calendar. All changes here will be overwritten." msgstr "" -#: functions/events.php:299 +#: functions/events.php:309 msgid "Load map and fix location marker" msgstr "" -#: functions/events.php:585 +#: functions/events.php:595 msgid "Event date" msgstr "" -#: functions/events.php:586 +#: functions/events.php:596 msgid "Event location" msgstr "" @@ -305,7 +333,7 @@ msgid "No alternative text provided. Please consider adding a description for be msgstr "" #: functions/metaboxes.php:15 -#: functions/options/class-sunflowersettingspage.php:108 +#: functions/options/class-sunflowersettingspage.php:128 msgid "Layout" msgstr "" @@ -339,6 +367,7 @@ msgid "use Shift + Enter to prevent line between" msgstr "" #: functions/options/class-sunflowereventsettingspage.php:50 +#: functions/options/class-sunflowersettingspage.php:63 #: functions/options/class-sunflowersocialmediasettingspage.php:50 msgid "Sunflower Settings" msgstr "" @@ -509,135 +538,147 @@ msgstr "" msgid "beta" msgstr "" -#: functions/options/class-sunflowersettingspage.php:77 +#: functions/options/class-sunflowersettingspage.php:89 msgid "Theme variant" msgstr "" -#: functions/options/class-sunflowersettingspage.php:84 +#: functions/options/class-sunflowersettingspage.php:96 msgid "Shape Style" msgstr "" -#: functions/options/class-sunflowersettingspage.php:92 +#: functions/options/class-sunflowersettingspage.php:104 msgid "Color Mood" msgstr "" -#: functions/options/class-sunflowersettingspage.php:100 +#: functions/options/class-sunflowersettingspage.php:112 +msgid "Post Image Format" +msgstr "" + +#: functions/options/class-sunflowersettingspage.php:120 msgid "Footer Color Variant" msgstr "" -#: functions/options/class-sunflowersettingspage.php:115 +#: functions/options/class-sunflowersettingspage.php:135 msgid "Excerpt length (words)" msgstr "" -#: functions/options/class-sunflowersettingspage.php:123 -#: functions/options/class-sunflowersettingspage.php:129 +#: functions/options/class-sunflowersettingspage.php:143 +#: functions/options/class-sunflowersettingspage.php:149 msgid "show related posts" msgstr "" -#: functions/options/class-sunflowersettingspage.php:135 +#: functions/options/class-sunflowersettingspage.php:155 msgid "show author of posts" msgstr "" -#: functions/options/class-sunflowersettingspage.php:141 +#: functions/options/class-sunflowersettingspage.php:161 msgid "Show post author on post details and via REST api." msgstr "" -#: functions/options/class-sunflowersettingspage.php:147 -#: functions/options/class-sunflowersettingspage.php:153 +#: functions/options/class-sunflowersettingspage.php:167 +#: functions/options/class-sunflowersettingspage.php:173 msgid "hide previous and next links" msgstr "" -#: functions/options/class-sunflowersettingspage.php:159 -#: functions/options/class-sunflowersettingspage.php:163 +#: functions/options/class-sunflowersettingspage.php:179 +#: functions/options/class-sunflowersettingspage.php:183 msgid "to-field for contact-forms" msgstr "" -#: functions/options/class-sunflowersettingspage.php:168 +#: functions/options/class-sunflowersettingspage.php:188 msgid "items in menu" msgstr "" -#: functions/options/class-sunflowersettingspage.php:174 +#: functions/options/class-sunflowersettingspage.php:194 msgid "items with href=# in the main menu are placeholders for submenu" msgstr "" -#: functions/options/class-sunflowersettingspage.php:180 -#: functions/options/class-sunflowersettingspage.php:184 +#: functions/options/class-sunflowersettingspage.php:200 +#: functions/options/class-sunflowersettingspage.php:204 msgid "Show social media icons in header" msgstr "" -#: functions/options/class-sunflowersettingspage.php:189 +#: functions/options/class-sunflowersettingspage.php:209 msgid "Show list of categories on category archive" msgstr "" -#: functions/options/class-sunflowersettingspage.php:197 +#: functions/options/class-sunflowersettingspage.php:217 msgid "Enhance SEO" msgstr "" -#: functions/options/class-sunflowersettingspage.php:203 +#: functions/options/class-sunflowersettingspage.php:223 msgid "Set website name in page metadata" msgstr "" -#: functions/options/class-sunflowersettingspage.php:209 +#: functions/options/class-sunflowersettingspage.php:229 msgid "Media creator field" msgstr "" -#: functions/options/class-sunflowersettingspage.php:247 +#: functions/options/class-sunflowersettingspage.php:267 msgid "Select the visual appearance of your theme." msgstr "" -#: functions/options/class-sunflowersettingspage.php:259 +#: functions/options/class-sunflowersettingspage.php:279 msgid "Various theme settings" msgstr "" -#: functions/options/class-sunflowersettingspage.php:310 +#: functions/options/class-sunflowersettingspage.php:330 msgid "Rounded" msgstr "" -#: functions/options/class-sunflowersettingspage.php:311 +#: functions/options/class-sunflowersettingspage.php:331 msgid "Sharp" msgstr "" -#: functions/options/class-sunflowersettingspage.php:333 +#: functions/options/class-sunflowersettingspage.php:353 msgid "Light" msgstr "" -#: functions/options/class-sunflowersettingspage.php:334 +#: functions/options/class-sunflowersettingspage.php:354 msgid "Dark" msgstr "" -#: functions/options/class-sunflowersettingspage.php:356 +#: functions/options/class-sunflowersettingspage.php:376 +msgid "Modern" +msgstr "" + +#: functions/options/class-sunflowersettingspage.php:377 +msgid "Flexible" +msgstr "" + +#: functions/options/class-sunflowersettingspage.php:399 msgid "Sand" msgstr "" -#: functions/options/class-sunflowersettingspage.php:357 +#: functions/options/class-sunflowersettingspage.php:400 msgid "Light Green" msgstr "" -#: functions/options/class-sunflowersettingspage.php:380 +#: functions/options/class-sunflowersettingspage.php:423 msgid "do not show" msgstr "" -#: functions/options/class-sunflowersettingspage.php:381 +#: functions/options/class-sunflowersettingspage.php:424 msgid "main categories" msgstr "" -#: functions/options/class-sunflowersettingspage.php:382 +#: functions/options/class-sunflowersettingspage.php:425 msgid "only sub-categories" msgstr "" -#: functions/options/class-sunflowersettingspage.php:404 +#: functions/options/class-sunflowersettingspage.php:447 msgid "optional" msgstr "" -#: functions/options/class-sunflowersettingspage.php:405 +#: functions/options/class-sunflowersettingspage.php:448 msgid "required" msgstr "" -#: functions/options/class-sunflowersettingspage.php:406 +#: functions/options/class-sunflowersettingspage.php:449 msgid "strict (The image is blurred if no creator field is filled out.)" msgstr "" -#: functions/options/class-sunflowersettingspage.php:407 +#: functions/options/class-sunflowersettingspage.php:450 msgid "disabled" msgstr "" @@ -754,6 +795,30 @@ msgstr "" msgid "Login error. Did you mistype s.th.?" msgstr "" +#: functions/widgets.php:19 +msgid "Footer Mitte" +msgstr "" + +#: functions/widgets.php:21 +msgid "Bereich in der Footer-Mitte für Kontakt-Widget" +msgstr "" + +#: functions/widgets.php:31 +msgid "Footer Rechts" +msgstr "" + +#: functions/widgets.php:33 +msgid "Bereich rechts im Footer für die Suche" +msgstr "" + +#: functions/widgets.php:43 +msgid "Header (nach Logo)" +msgstr "" + +#: functions/widgets.php:45 +msgid "Bereich im Header für die Suche" +msgstr "" + #: header.php:33 msgid "Skip to content" msgstr "" @@ -807,8 +872,13 @@ msgstr "" msgid "Search Results for: %s" msgstr "" +#: searchform.php:16 +#: searchform.php:22 +msgid "Suche" +msgstr "" + #: single-sunflower_event.php:61 -#: template-parts/archive-event.php:54 +#: template-parts/archive-event.php:60 msgid "o'clock" msgstr "" @@ -892,6 +962,14 @@ msgstr "" msgid "none" msgstr "" +#: template-parts/header-standard.php:13 +msgid "Top menu" +msgstr "" + +#: template-parts/header-standard.php:95 +msgid "Menu" +msgstr "" + #: build/core/cover/index.js:139 #: src/core/cover/index.js:18 #: build/core/cover/index.js:77 diff --git a/src/latest-posts/render.php b/src/latest-posts/render.php index 6fb2449a..141b8dab 100644 --- a/src/latest-posts/render.php +++ b/src/latest-posts/render.php @@ -78,6 +78,9 @@ ) ); +$sunflower_options = get_option( 'sunflower_options' ); +$sunflower_option_post_image_format = $sunflower_options['sunflower_post_image_format'] ?? 'modern'; + $sunflower_list_items = sprintf( '
@@ -86,7 +89,7 @@ $sunflower_classes, $sunflower_title, $sunflower_is_slider ? 'posts-slider' : '', - '' + 'flexible' === $sunflower_option_post_image_format ? 'data-masonry=\'{"percentPosition": true }\'' : '' ); switch ( $sunflower_columns ) {