feat: rilascio 1.1.0, piu' categorie insieme, periodo dal/al, parola nel titolo e scelta del carattere nel blocco e nello shortcode
All checks were successful
Release su wordpress.org / rilascio (push) Successful in 35s

This commit is contained in:
Lorenzo Iovino 2026-09-29 16:11:42 +02:00
parent 1b1dda3281
commit 368682bd07
8 changed files with 112 additions and 11 deletions

View file

@ -99,6 +99,17 @@
set({ categoria: v });
}
}),
campo(
'cerca',
__('Word in the title', 'piazza-in-festa'),
__('Optional, at least 3 letters, for instance: natale.', 'piazza-in-festa')
),
campo(
'dal',
__('Starting from', 'piazza-in-festa'),
__('Optional. Only events that start in the period, format YYYY-MM-DD.', 'piazza-in-festa')
),
campo('al', __('Until', 'piazza-in-festa'), __('Optional, format YYYY-MM-DD.', 'piazza-in-festa')),
campo('limite', __('How many events', 'piazza-in-festa'), __('From 1 to 20.', 'piazza-in-festa')),
el(SelectControl, {
label: __('Layout', 'piazza-in-festa'),
@ -132,6 +143,20 @@
}
}),
campo('colore', __('Accent colour', 'piazza-in-festa'), __('Hex code, for instance #b4315a.', 'piazza-in-festa')),
el(SelectControl, {
label: __('Font', 'piazza-in-festa'),
value: a.font,
options: [
{ label: __('Visitor device font', 'piazza-in-festa'), value: '' },
{ label: 'Helvetica / Arial', value: 'helvetica' },
{ label: 'Georgia', value: 'serif' }
],
__next40pxDefaultSize: true,
__nextHasNoMarginBottom: true,
onChange: function (v) {
set({ font: v });
}
}),
campo('titolo', __('Heading', 'piazza-in-festa'), __('Leave it empty for no heading.', 'piazza-in-festa')),
campo('altezza', __('Starting height (px)', 'piazza-in-festa'), __('It adapts by itself once loaded.', 'piazza-in-festa'))
)