feat: prima versione del plugin, blocco e shortcode con iframe stampato lato server
This commit is contained in:
commit
5c73bbc2b8
20 changed files with 1562 additions and 0 deletions
27
blocks/eventi/block.json
Normal file
27
blocks/eventi/block.json
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
{
|
||||
"$schema": "https://schemas.wp.org/trunk/block.json",
|
||||
"apiVersion": 3,
|
||||
"name": "piazza-in-festa/eventi",
|
||||
"version": "1.0.0",
|
||||
"title": "Piazza in Festa",
|
||||
"category": "widgets",
|
||||
"icon": "calendar-alt",
|
||||
"description": "Upcoming local events of the towns you follow.",
|
||||
"keywords": ["eventi", "events", "sagre", "calendar", "agenda"],
|
||||
"textdomain": "piazza-in-festa",
|
||||
"supports": {
|
||||
"html": false,
|
||||
"align": ["wide", "full"]
|
||||
},
|
||||
"attributes": {
|
||||
"comuni": { "type": "string", "default": "" },
|
||||
"regione": { "type": "string", "default": "" },
|
||||
"categoria": { "type": "string", "default": "" },
|
||||
"limite": { "type": "string", "default": "5" },
|
||||
"tema": { "type": "string", "default": "chiaro" },
|
||||
"colore": { "type": "string", "default": "" },
|
||||
"titolo": { "type": "string", "default": "" },
|
||||
"altezza": { "type": "string", "default": "320" }
|
||||
},
|
||||
"editorScript": "file:./index.js"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue