Mu-Plugin 1.5.0: Reihenfolge-Feld und Loop-Grid-Sortierung
This commit is contained in:
@@ -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 || '') }))
|
||||
: [],
|
||||
|
||||
Reference in New Issue
Block a user