Файловый менеджер - Редактировать - /home/beautybuzzbeyond/public_html/wp-content/plugins/coblocks/src/blocks/gallery-masonry/block.json
Назад
{ "apiVersion": 2, "$schema": "https://schemas.wp.org/trunk/block.json", "name": "coblocks/gallery-masonry", "title": "Masonry Gallery", "category": "media", "description": "Display multiple images in a masonry style gallery.", "keywords": [ "images", "photos", "lightbox" ], "textdomain": "coblocks", "attributes": { "images": { "type": "array", "default": [], "source": "query", "selector": ".coblocks-gallery--item", "query": { "url": { "source": "attribute", "selector": "img", "attribute": "src" }, "link": { "source": "attribute", "selector": "img", "attribute": "data-link" }, "imgLink": { "source": "attribute", "selector": "img", "attribute": "data-imglink" }, "alt": { "source": "attribute", "selector": "img", "attribute": "alt", "default": "" }, "id": { "source": "attribute", "selector": "img", "attribute": "data-id" }, "caption": { "type": "array", "source": "children", "selector": "figcaption" } } }, "caption": { "type": "string", "source": "html", "selector": ".blocks-gallery-caption" }, "filter": { "default": "none", "type": "string" }, "linkTarget": { "type": "string" }, "linkTo": { "type": "string" }, "radius": { "type": "number", "default": 0 }, "sizeSlug": { "type": "string", "default": "large" }, "allowResize": { "type": "boolean", "default": false } }, "example": { "innerBlocks": [ { "attributes": { "url": "https://s.w.org/images/core/5.3/Sediment_off_the_Yucatan_Peninsula.jpg" }, "name": "core/image" }, { "attributes": { "url": "https://s.w.org/images/core/5.3/Windbuchencom.jpg" }, "name": "core/image" }, { "attributes": { "url": "https://s.w.org/images/core/5.3/Biologia_Centrali-Americana_-_Cantorchilus_semibadius_1902.jpg" }, "name": "core/image" }, { "attributes": { "url": "https://s.w.org/images/core/5.3/MtBlanc1.jpg" }, "name": "core/image" }, { "attributes": { "url": "https://s.w.org/images/core/5.3/Glacial_lakes,_Bhutan.jpg" }, "name": "core/image" } ] }, "providesContext": { "allowResize": "allowResize", "imageCrop": "imageCrop" }, "editorScript": ["coblocks-5"], "viewScript": ["coblocks-lightbox"], "supports": { "anchor": true, "gutter": { "default": "medium", "customDefault": 0.2 }, "align": [ "wide", "full" ], "coBlocksSpacing": true, "html": false } }
| ver. 1.4 |
Github
|
.
| PHP 8.0.30 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка