Mu-Plugin 1.5.0: Reihenfolge-Feld und Loop-Grid-Sortierung

This commit is contained in:
2026-09-22 13:54:28 +02:00
parent 39163f43bb
commit 257a414649
4 changed files with 154 additions and 84 deletions

View File

@@ -443,6 +443,7 @@ const meta = {
faq_ueberschrift: a.faq_ueberschrift || '',
cta_ziel: a.cta_ziel || '',
stand_datum: a.stand_datum || heute,
ratgeber_reihenfolge: Number.isFinite(Number(a.reihenfolge)) && a.reihenfolge !== null && a.reihenfolge !== '' ? Number(a.reihenfolge) : 999,
faq: Array.isArray(a.faq)
? a.faq.filter(f => f && f.frage).map(f => ({ frage: String(f.frage), antwort: String(f.antwort || '') }))
: [],