%2$s
', $wrapper_attributes, $tag_cloud ); } /** * Registers the `core/tag-cloud` block on server. */ function register_block_core_tag_cloud() { register_block_type_from_metadata( __DIR__ . '/tag-cloud', array( 'render_callback' => 'render_block_core_tag_cloud', ) ); } add_action( 'init', 'register_block_core_tag_cloud' ); PK 㚙[PdH H archives/block.jsonnu [ { "apiVersion": 2, "name": "core/archives", "category": "widgets", "attributes": { "displayAsDropdown": { "type": "boolean", "default": false }, "showPostCounts": { "type": "boolean", "default": false } }, "supports": { "align": true, "html": false }, "editorStyle": "wp-block-archives-editor" } PK 㚙[ʤ audio/block.jsonnu [ { "apiVersion": 2, "name": "core/audio", "category": "media", "attributes": { "src": { "type": "string", "source": "attribute", "selector": "audio", "attribute": "src" }, "caption": { "type": "string", "source": "html", "selector": "figcaption" }, "id": { "type": "number" }, "autoplay": { "type": "boolean", "source": "attribute", "selector": "audio", "attribute": "autoplay" }, "loop": { "type": "boolean", "source": "attribute", "selector": "audio", "attribute": "loop" }, "preload": { "type": "string", "source": "attribute", "selector": "audio", "attribute": "preload" } }, "supports": { "anchor": true, "align": true }, "editorStyle": "wp-block-audio-editor", "style": "wp-block-audio" } PK 㚙[ block/block.jsonnu [ { "apiVersion": 2, "name": "core/block", "category": "reusable", "attributes": { "ref": { "type": "number" } }, "supports": { "customClassName": false, "html": false, "inserter": false }, "editorStyle": "wp-block-editor" } PK 㚙[^K~ ~ button/block.jsonnu [ { "apiVersion": 2, "name": "core/button", "category": "design", "parent": [ "core/buttons" ], "attributes": { "url": { "type": "string", "source": "attribute", "selector": "a", "attribute": "href" }, "title": { "type": "string", "source": "attribute", "selector": "a", "attribute": "title" }, "text": { "type": "string", "source": "html", "selector": "a" }, "linkTarget": { "type": "string", "source": "attribute", "selector": "a", "attribute": "target" }, "rel": { "type": "string", "source": "attribute", "selector": "a", "attribute": "rel" }, "placeholder": { "type": "string" }, "borderRadius": { "type": "number" }, "style": { "type": "object" }, "backgroundColor": { "type": "string" }, "textColor": { "type": "string" }, "gradient": { "type": "string" }, "width": { "type": "number" } }, "supports": { "anchor": true, "align": true, "alignWide": false, "reusable": false, "__experimentalSelector": ".wp-block-button > a" }, "editorStyle": "wp-block-button-editor", "style": "wp-block-button" } PK 㚙[᳘b b buttons/block.jsonnu [ { "apiVersion": 2, "name": "core/buttons", "category": "design", "attributes": { "contentJustification": { "type": "string" }, "orientation": { "type": "string", "default": "horizontal" } }, "supports": { "anchor": true, "align": [ "wide", "full" ] }, "editorStyle": "wp-block-buttons-editor", "style": "wp-block-buttons" } PK 㚙[ɘN calendar/block.jsonnu [ { "apiVersion": 2, "name": "core/calendar", "category": "widgets", "attributes": { "month": { "type": "integer" }, "year": { "type": "integer" } }, "supports": { "align": true }, "style": "wp-block-calendar" } PK 㚙[:YR categories/block.jsonnu [ { "apiVersion": 2, "name": "core/categories", "category": "widgets", "attributes": { "displayAsDropdown": { "type": "boolean", "default": false }, "showHierarchy": { "type": "boolean", "default": false }, "showPostCounts": { "type": "boolean", "default": false } }, "supports": { "align": true, "html": false }, "editorStyle": "wp-block-categories-editor", "style": "wp-block-categories" } PK 㚙[ՠ code/block.jsonnu [ { "apiVersion": 2, "name": "core/code", "category": "text", "attributes": { "content": { "type": "string", "source": "html", "selector": "code" } }, "supports": { "anchor": true, "fontSize": true }, "style": "wp-block-code" } PK 㚙[E\XG G column/block.jsonnu [ { "apiVersion": 2, "name": "core/column", "category": "text", "parent": [ "core/columns" ], "attributes": { "verticalAlignment": { "type": "string" }, "width": { "type": "string" }, "templateLock": { "type": "string" } }, "supports": { "anchor": true, "reusable": false, "html": false } } PK 㚙[>Gh h columns/block.jsonnu [ { "apiVersion": 2, "name": "core/columns", "category": "design", "attributes": { "verticalAlignment": { "type": "string" } }, "supports": { "anchor": true, "align": [ "wide", "full" ], "html": false, "color": { "gradients": true, "link": true } }, "editorStyle": "wp-block-columns-editor", "style": "wp-block-columns" } PK 㚙[n/ / file/block.jsonnu [ { "apiVersion": 2, "name": "core/file", "category": "media", "attributes": { "id": { "type": "number" }, "href": { "type": "string" }, "fileName": { "type": "string", "source": "html", "selector": "a:not([download])" }, "textLinkHref": { "type": "string", "source": "attribute", "selector": "a:not([download])", "attribute": "href" }, "textLinkTarget": { "type": "string", "source": "attribute", "selector": "a:not([download])", "attribute": "target" }, "showDownloadButton": { "type": "boolean", "default": true }, "downloadButtonText": { "type": "string", "source": "html", "selector": "a[download]" } }, "supports": { "anchor": true, "align": true }, "editorStyle": "wp-block-file-editor", "style": "wp-block-file" } PK 㚙[} gallery/block.jsonnu [ { "apiVersion": 2, "name": "core/gallery", "category": "media", "attributes": { "images": { "type": "array", "default": [], "source": "query", "selector": ".blocks-gallery-item", "query": { "url": { "type": "string", "source": "attribute", "selector": "img", "attribute": "src" }, "fullUrl": { "type": "string", "source": "attribute", "selector": "img", "attribute": "data-full-url" }, "link": { "type": "string", "source": "attribute", "selector": "img", "attribute": "data-link" }, "alt": { "type": "string", "source": "attribute", "selector": "img", "attribute": "alt", "default": "" }, "id": { "type": "string", "source": "attribute", "selector": "img", "attribute": "data-id" }, "caption": { "type": "string", "source": "html", "selector": ".blocks-gallery-item__caption" } } }, "ids": { "type": "array", "items": { "type": "number" }, "default": [] }, "columns": { "type": "number", "minimum": 1, "maximum": 8 }, "caption": { "type": "string", "source": "html", "selector": ".blocks-gallery-caption" }, "imageCrop": { "type": "boolean", "default": true }, "linkTo": { "type": "string" }, "sizeSlug": { "type": "string", "default": "large" } }, "supports": { "anchor": true, "align": true }, "editorStyle": "wp-block-gallery-editor", "style": "wp-block-gallery" } PK 㚙[# group/block.jsonnu [ { "apiVersion": 2, "name": "core/group", "category": "design", "attributes": { "tagName": { "type": "string", "default": "div" }, "templateLock": { "type": "string" } }, "supports": { "align": [ "wide", "full" ], "anchor": true, "html": false, "color": { "gradients": true, "link": true }, "spacing": { "padding": true }, "__experimentalBorder": { "radius": true } }, "editorStyle": "wp-block-group-editor", "style": "wp-block-group" } PK 㚙[Ȋ|2 2 heading/block.jsonnu [ { "apiVersion": 2, "name": "core/heading", "category": "text", "attributes": { "textAlign": { "type": "string" }, "content": { "type": "string", "source": "html", "selector": "h1,h2,h3,h4,h5,h6", "default": "" }, "level": { "type": "number", "default": 2 }, "placeholder": { "type": "string" } }, "supports": { "align": [ "wide", "full" ], "anchor": true, "className": false, "color": { "link": true }, "fontSize": true, "lineHeight": true, "__experimentalSelector": { "core/heading/h1": { "selector": "h1", "title": "h1", "attributes": { "level": 1 } }, "core/heading/h2": { "selector": "h2", "title": "h2", "attributes": { "level": 2 } }, "core/heading/h3": { "selector": "h3", "title": "h3", "attributes": { "level": 3 } }, "core/heading/h4": { "selector": "h4", "title": "h4", "attributes": { "level": 4 } }, "core/heading/h5": { "selector": "h5", "title": "h5", "attributes": { "level": 5 } }, "core/heading/h6": { "selector": "h6", "title": "h6", "attributes": { "level": 6 } } }, "__unstablePasteTextInline": true }, "editorStyle": "wp-block-heading-editor", "style": "wp-block-heading" } PK 㚙[ html/block.jsonnu [ { "apiVersion": 2, "name": "core/html", "category": "widgets", "attributes": { "content": { "type": "string", "source": "html" } }, "supports": { "customClassName": false, "className": false, "html": false }, "editorStyle": "wp-block-html-editor" } PK 㚙[n n image/block.jsonnu [ { "apiVersion": 2, "name": "core/image", "category": "media", "attributes": { "align": { "type": "string" }, "url": { "type": "string", "source": "attribute", "selector": "img", "attribute": "src" }, "alt": { "type": "string", "source": "attribute", "selector": "img", "attribute": "alt", "default": "" }, "caption": { "type": "string", "source": "html", "selector": "figcaption" }, "title": { "type": "string", "source": "attribute", "selector": "img", "attribute": "title" }, "href": { "type": "string", "source": "attribute", "selector": "figure > a", "attribute": "href" }, "rel": { "type": "string", "source": "attribute", "selector": "figure > a", "attribute": "rel" }, "linkClass": { "type": "string", "source": "attribute", "selector": "figure > a", "attribute": "class" }, "id": { "type": "number" }, "width": { "type": "number" }, "height": { "type": "number" }, "sizeSlug": { "type": "string" }, "linkDestination": { "type": "string" }, "linkTarget": { "type": "string", "source": "attribute", "selector": "figure > a", "attribute": "target" } }, "supports": { "anchor": true, "__experimentalBorder": { "radius": true } }, "editorStyle": "wp-block-image-editor", "style": "wp-block-image" } PK 㚙[- index.phpnu [ context['openInNewTab'] ) ? $block->context['openInNewTab'] : false; $service = ( isset( $attributes['service'] ) ) ? $attributes['service'] : 'Icon'; $url = ( isset( $attributes['url'] ) ) ? $attributes['url'] : false; $label = ( isset( $attributes['label'] ) ) ? $attributes['label'] : block_core_social_link_get_name( $service ); $class_name = isset( $attributes['className'] ) ? ' ' . $attributes['className'] : false; // Don't render a link if there is no URL set. if ( ! $url ) { return ''; } $attribute = ''; if ( $open_in_new_tab ) { $attribute = 'rel="noopener nofollow" target="_blank"'; } $icon = block_core_social_link_get_icon( $service ); $wrapper_attributes = get_block_wrapper_attributes( array( 'class' => 'wp-social-link wp-social-link-' . $service . $class_name, 'style' => block_core_social_link_get_color_styles( $block->context ), ) ); return '