{"id":17,"date":"2025-09-26T08:50:45","date_gmt":"2025-09-26T08:50:45","guid":{"rendered":"https:\/\/ska-blocks.com\/docs\/2025\/09\/26\/dialog\/"},"modified":"2025-09-27T08:44:07","modified_gmt":"2025-09-27T08:44:07","slug":"dialog","status":"publish","type":"post","link":"https:\/\/ska-blocks.com\/docs\/dialog\/","title":{"rendered":"Dialog"},"content":{"rendered":"\n<p class=\"lead\">ska-theme includes a custom Alpine.js component for handling HTML dialog elements.<\/p>\n\n\n\n<p>The module abstracts away calling the native <code>.showModal()<\/code>, <code>.close()<\/code> functions, adds <code>x-transition<\/code> to the dialog and enables closing of the modal by clicking away from the modal.<\/p>\n\n\n\n\n\n<h2 class=\"wp-block-heading\">Creating a dialog<\/h2>\n\n\n\n<p>Adding <code>x-data=\"skaDialog\"<\/code> do an element will locate a button and a dialog from its&#8217; contents and automatically assign <code>x-bind=\"trigger\"<\/code> and <code>x-bind=\"dialog\"<\/code> attributes to them to handle opening and closing the dialog.<\/p>\n\n\n\n<div class=\"wp-block-ska-code not-prose ska-preset--ska-theme--code\"><header><span class=\"title\">Basic dialog<\/span><span class=\"label language-html\">HTML<\/span><\/header><div class=\"content\"><pre class=\"code html language-html\"><code class=\"language-html\">&lt;div x-data=\"skaDialog\">\n\t&lt;button>Open dialog&lt;\/button>\n\t&lt;dialog>Dialog content&lt;\/dialog>\n&lt;\/div><\/code><\/pre><\/div><\/div>\n\n\n\n<p>In the block editor the <code>&lt;dialog&gt;<\/code> element is rendered as <code>&lt;div&gt;<\/code> so it can be visible and editable. Since this content is usually designed to be rendered in an overlay use the <strong>Advanced -&gt; Hide in editor<\/strong> option to hide this block in the editor unless it is selected, so that the dialog content doesn&#8217;t consume space in the editor unless you&#8217;re editing it.<\/p>\n\n\n\n<div x-data=\"skaDialog\" class=\"wp-block-ska-element\">\n<button class=\"wp-block-ska-text ska-text\">Open dialog<\/button>\n\n\n\n<dialog class=\"m-auto not-prose wp-block-ska-element\">\n<p class=\"p-6\">Dialog content<\/p>\n<\/dialog>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Styling a dialog<\/h2>\n\n\n\n<p>ska-theme comes with a <strong>Dialog<\/strong> <a href=\"https:\/\/ska-blocks.com\/docs\/presets\/\" data-type=\"post\" data-id=\"46\">preset<\/a> that can be applied to the <code>&lt;dialog><\/code> element to give it consistent styles. The preset is designed to utilize elements with <code>.header<\/code> and <code>.content<\/code> classes to style it and styles the <code>::backdrop<\/code> as well.<\/p>\n\n\n\n<div class=\"wp-block-ska-code not-prose ska-preset--ska-theme--code\"><header><span class=\"title\">Dialog markup for Dialog preset<\/span><span class=\"label language-html\">HTML<\/span><\/header><div class=\"content\"><pre class=\"code html language-html\"><code class=\"language-html\">&lt;dialog class=\"ska-preset--ska-theme--dialog\">\n\t&lt;div class=\"header\">Dialog title&lt;\/div>\n\t&lt;div class=\"content\">Dialog content&lt;\/div>\n&lt;\/dialog><\/code><\/pre><\/div><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">Basic styled dialog<\/h3>\n\n\n<div class=\"ska-blocks-docs__wrapper not-prose\" x-data=\"{showContent: false, showMessage: false, showError: false}\" style=\"display:flex;flex-direction:column\">\n<div class=\"wp-block-ska-element ska-blocks-docs not-prose ska-preset--docs-blocks\">\n<div x-data=\"skaDialog\" class=\"wp-block-ska-element\">\n<button class=\"wp-block-ska-text ska-text ska-preset--ska-theme--button ska-preset--ska-theme--primary-button\">Open dialog<\/button>\n\n\n\n<dialog class=\"wp-block-ska-element ska-preset--ska-theme--dialog\">\n<div class=\"wp-block-ska-element header\">\n<p>Dialog header<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-ska-element content\">\n<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc dapibus malesuada tristique. Sed elit sapien, imperdiet at orci in, consectetur aliquam ligula. In vulputate at lorem ac vehicula. Ut hendrerit nulla nisl, vel ornare nisl molestie in. Aliquam sit amet nibh libero. Suspendisse vitae massa ac ex tincidunt iaculis blandit sit amet sapien.<\/p>\n<\/div>\n<\/dialog>\n<\/div>\n<\/div>\n<div class=\"ska-blocks-docs__controls\" style=\"order:-1\">\n\t<button class=\"code\" type=\"button\" x-on:click=\"showContent = !showContent\" x-text=\"showContent ? 'Hide code' : 'Show code'\" aria-pressed=\"showContent\">Show code<\/button>\n\t<div>\n\t\t<span class=\"message success\" aria-hidden=\"true\" x-cloak x-show=\"showMessage\" >Copied!<\/span>\n\t\t<span class=\"message error\" aria-hidden=\"true\" x-cloak x-show=\"showError\">Couldn&#8217;t copy!<\/span>\n\t\t<button class=\"copy\" type=\"button\" x-on:click=\"navigator.clipboard ? (navigator.clipboard.writeText($el.parentElement.parentElement.nextElementSibling.querySelector('pre').innerText), showMessage = true) : showError = true\">Copy blocks<\/button>\n\t<\/div>\n<\/div>\n<div class=\"ska-blocks-docs__content ska-preset--ska-theme--code\" x-cloak x-collapse x-show=\"showContent\" hidden>\n\t<div class=\"content\">\n\t\t<pre class=\"ska-blocks-docs__blocks code\"><code class=\"html language-html\">&lt;!-- wp:ska\/element {&quot;skaBlocksAs&quot;:{&quot;element&quot;:&quot;div&quot;},&quot;skaBlocksAttributes&quot;:{&quot;record&quot;:{&quot;x-data&quot;:&quot;skaDialog&quot;}}} --&gt;\n&lt;div x-data=&quot;skaDialog&quot; class=&quot;wp-block-ska-element&quot;&gt;\n&lt;!-- wp:ska\/text {&quot;skaBlocks&quot;:{&quot;p&quot;:[{&quot;id&quot;:&quot;ska-theme--button&quot;,&quot;isStatic&quot;:true},{&quot;id&quot;:&quot;ska-theme--primary-button&quot;,&quot;isStatic&quot;:true}],&quot;t&quot;:1758876679},&quot;skaBlocksAs&quot;:{&quot;href&quot;:&quot;#&quot;,&quot;opensInNewTab&quot;:false,&quot;customElement&quot;:&quot;&quot;,&quot;element&quot;:&quot;button&quot;}} --&gt;\n&lt;button class=&quot;wp-block-ska-text ska-text&quot;&gt;Open dialog&lt;\/button&gt;\n&lt;!-- \/wp:ska\/text --&gt;\n&lt;!-- wp:ska\/element {&quot;skaBlocks&quot;:{&quot;p&quot;:[{&quot;id&quot;:&quot;ska-theme--dialog&quot;,&quot;isStatic&quot;:true}],&quot;t&quot;:1758876679},&quot;skaBlocksAppender&quot;:{&quot;type&quot;:&quot;hidden&quot;},&quot;skaBlocksAs&quot;:{&quot;element&quot;:&quot;custom&quot;,&quot;customElement&quot;:&quot;dialog&quot;},&quot;skaBlocksRender&quot;:{&quot;editorNoRender&quot;:true}} --&gt;\n&lt;dialog class=&quot;wp-block-ska-element&quot;&gt;\n&lt;!-- wp:ska\/element {&quot;skaBlocks&quot;:{&quot;cx&quot;:&quot;&quot;,&quot;css&quot;:&quot;&quot;,&quot;t&quot;:1758876679},&quot;skaBlocksAppender&quot;:{&quot;type&quot;:&quot;hidden&quot;},&quot;className&quot;:&quot;header&quot;} --&gt;\n&lt;div class=&quot;wp-block-ska-element header&quot;&gt;\n&lt;!-- wp:paragraph --&gt;\n&lt;p&gt;Dialog header&lt;\/p&gt;\n&lt;!-- \/wp:paragraph --&gt;\n&lt;\/div&gt;\n&lt;!-- \/wp:ska\/element --&gt;\n&lt;!-- wp:ska\/element {&quot;skaBlocks&quot;:{&quot;cx&quot;:&quot;&quot;,&quot;css&quot;:&quot;&quot;,&quot;t&quot;:1758876679},&quot;className&quot;:&quot;content&quot;} --&gt;\n&lt;div class=&quot;wp-block-ska-element content&quot;&gt;\n&lt;!-- wp:paragraph --&gt;\n&lt;p&gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc dapibus malesuada tristique. Sed elit sapien, imperdiet at orci in, consectetur aliquam ligula. In vulputate at lorem ac vehicula. Ut hendrerit nulla nisl, vel ornare nisl molestie in. Aliquam sit amet nibh libero. Suspendisse vitae massa ac ex tincidunt iaculis blandit sit amet sapien.&lt;\/p&gt;\n&lt;!-- \/wp:paragraph --&gt;\n&lt;\/div&gt;\n&lt;!-- \/wp:ska\/element --&gt;\n&lt;\/dialog&gt;\n&lt;!-- \/wp:ska\/element --&gt;\n&lt;\/div&gt;\n&lt;!-- \/wp:ska\/element --&gt;<\/code><\/pre>\n\t<\/div>\n<\/div><\/div>\n\n\n<p>The dialog closes when clicking on outside area. For a custom close button add an element with <code>x-on:click=\"close\"<\/code> attribute.<\/p>\n\n\n\n<div class=\"wp-block-ska-code not-prose ska-preset--ska-theme--code\"><header><span class=\"title\">Dialog header with a close button<\/span><span class=\"label language-html\">HTML<\/span><\/header><div class=\"content\"><pre class=\"code html language-html\"><code class=\"language-html\">&lt;div class=\"header flex flex-row justify-between items-center\">\n\t&lt;p class=\"m-0\">Dialog title&lt;\/p>\n\t&lt;button x-on:click=\"close\" aria-label=\"Close dialog\">\n\t\t&lt;svg ...\/>\n\t&lt;\/button>\n&lt;\/div><\/code><\/pre><\/div><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">Styled dialog with a close button<\/h3>\n\n\n<div class=\"ska-blocks-docs__wrapper not-prose\" x-data=\"{showContent: false, showMessage: false, showError: false}\" style=\"display:flex;flex-direction:column\">\n<div class=\"wp-block-ska-element ska-blocks-docs not-prose ska-preset--docs-blocks\">\n<div x-data=\"skaDialog\" class=\"wp-block-ska-element\">\n<button class=\"wp-block-ska-text ska-text ska-preset--ska-theme--button ska-preset--ska-theme--primary-button\">Open dialog<\/button>\n\n\n\n<dialog class=\"wp-block-ska-element ska-preset--ska-theme--dialog\">\n<div class=\"wp-block-ska-element header\">\n<p class=\"m-0\">Dialog header<\/p>\n\n\n\n<button x-on:click=\"close\" aria-label=\"Close dialog\" autofocus class=\"hover:text-link wp-block-ska-element\">\n<svg aria-hidden=\"true\" class=\"w-6 h-auto text-current wp-block-ska-image image\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M5.46967 5.46967C5.76256 5.17678 6.23744 5.17678 6.53033 5.46967L12 10.9393L17.4697 5.46967C17.7626 5.17678 18.2374 5.17678 18.5303 5.46967C18.8232 5.76256 18.8232 6.23744 18.5303 6.53033L13.0607 12L18.5303 17.4697C18.8232 17.7626 18.8232 18.2374 18.5303 18.5303C18.2374 18.8232 17.7626 18.8232 17.4697 18.5303L12 13.0607L6.53033 18.5303C6.23744 18.8232 5.76256 18.8232 5.46967 18.5303C5.17678 18.2374 5.17678 17.7626 5.46967 17.4697L10.9393 12L5.46967 6.53033C5.17678 6.23744 5.17678 5.76256 5.46967 5.46967Z\" fill=\"currentColor\"><\/path><\/svg>\n<\/button>\n<\/div>\n\n\n\n<div class=\"wp-block-ska-element content\">\n<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc dapibus malesuada tristique. Sed elit sapien, imperdiet at orci in, consectetur aliquam ligula. In vulputate at lorem ac vehicula. Ut hendrerit nulla nisl, vel ornare nisl molestie in. Aliquam sit amet nibh libero. Suspendisse vitae massa ac ex tincidunt iaculis blandit sit amet sapien.<\/p>\n<\/div>\n<\/dialog>\n<\/div>\n<\/div>\n<div class=\"ska-blocks-docs__controls\" style=\"order:-1\">\n\t<button class=\"code\" type=\"button\" x-on:click=\"showContent = !showContent\" x-text=\"showContent ? 'Hide code' : 'Show code'\" aria-pressed=\"showContent\">Show code<\/button>\n\t<div>\n\t\t<span class=\"message success\" aria-hidden=\"true\" x-cloak x-show=\"showMessage\" >Copied!<\/span>\n\t\t<span class=\"message error\" aria-hidden=\"true\" x-cloak x-show=\"showError\">Couldn&#8217;t copy!<\/span>\n\t\t<button class=\"copy\" type=\"button\" x-on:click=\"navigator.clipboard ? (navigator.clipboard.writeText($el.parentElement.parentElement.nextElementSibling.querySelector('pre').innerText), showMessage = true) : showError = true\">Copy blocks<\/button>\n\t<\/div>\n<\/div>\n<div class=\"ska-blocks-docs__content ska-preset--ska-theme--code\" x-cloak x-collapse x-show=\"showContent\" hidden>\n\t<div class=\"content\">\n\t\t<pre class=\"ska-blocks-docs__blocks code\"><code class=\"html language-html\">&lt;!-- wp:ska\/element {&quot;skaBlocksAs&quot;:{&quot;element&quot;:&quot;div&quot;},&quot;skaBlocksAttributes&quot;:{&quot;record&quot;:{&quot;x-data&quot;:&quot;skaDialog&quot;}}} --&gt;\n&lt;div x-data=&quot;skaDialog&quot; class=&quot;wp-block-ska-element&quot;&gt;\n&lt;!-- wp:ska\/text {&quot;skaBlocks&quot;:{&quot;p&quot;:[{&quot;id&quot;:&quot;ska-theme--button&quot;,&quot;isStatic&quot;:true},{&quot;id&quot;:&quot;ska-theme--primary-button&quot;,&quot;isStatic&quot;:true}],&quot;t&quot;:1758876679},&quot;skaBlocksAs&quot;:{&quot;href&quot;:&quot;#&quot;,&quot;opensInNewTab&quot;:false,&quot;customElement&quot;:&quot;&quot;,&quot;element&quot;:&quot;button&quot;}} --&gt;\n&lt;button class=&quot;wp-block-ska-text ska-text&quot;&gt;Open dialog&lt;\/button&gt;\n&lt;!-- \/wp:ska\/text --&gt;\n&lt;!-- wp:ska\/element {&quot;skaBlocks&quot;:{&quot;p&quot;:[{&quot;id&quot;:&quot;ska-theme--dialog&quot;,&quot;isStatic&quot;:true}],&quot;t&quot;:1758876679},&quot;skaBlocksAppender&quot;:{&quot;type&quot;:&quot;hidden&quot;},&quot;skaBlocksAs&quot;:{&quot;element&quot;:&quot;custom&quot;,&quot;customElement&quot;:&quot;dialog&quot;},&quot;skaBlocksRender&quot;:{&quot;editorNoRender&quot;:true}} --&gt;\n&lt;dialog class=&quot;wp-block-ska-element&quot;&gt;\n&lt;!-- wp:ska\/element {&quot;skaBlocks&quot;:{&quot;cx&quot;:&quot;&quot;,&quot;css&quot;:&quot;&quot;,&quot;t&quot;:1758876679},&quot;skaBlocksAppender&quot;:{&quot;type&quot;:&quot;hidden&quot;},&quot;className&quot;:&quot;header&quot;} --&gt;\n&lt;div class=&quot;wp-block-ska-element header&quot;&gt;\n&lt;!-- wp:paragraph {&quot;skaBlocks&quot;:{&quot;cx&quot;:&quot;m-0&quot;,&quot;css&quot;:&quot;.m-0{margin:var(--spacing-0)}&quot;,&quot;t&quot;:1758876679},&quot;skaBlocksMargin&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;0&quot;}}}} --&gt;\n&lt;p class=&quot;m-0&quot;&gt;Dialog header&lt;\/p&gt;\n&lt;!-- \/wp:paragraph --&gt;\n&lt;!-- wp:ska\/element {&quot;skaBlocks&quot;:{&quot;cx&quot;:&quot;hover:text-link&quot;,&quot;css&quot;:&quot;@media (hover:hover){.hover\\u005c:text-link:hover{color:var(--color-link)}}&quot;,&quot;t&quot;:1758876679},&quot;skaBlocksAppender&quot;:{&quot;type&quot;:&quot;hidden&quot;},&quot;skaBlocksAs&quot;:{&quot;customElement&quot;:&quot;&quot;,&quot;element&quot;:&quot;button&quot;},&quot;skaBlocksAttributes&quot;:{&quot;record&quot;:{&quot;x-on:click&quot;:&quot;close&quot;,&quot;aria-label&quot;:&quot;Close dialog&quot;,&quot;autofocus&quot;:&quot;&quot;}},&quot;skaBlocksTextColor&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;&quot;},&quot;hover&quot;:{&quot;@&quot;:&quot;link&quot;}}}} --&gt;\n&lt;button x-on:click=&quot;close&quot; aria-label=&quot;Close dialog&quot; autofocus class=&quot;hover:text-link wp-block-ska-element&quot;&gt;\n&lt;!-- wp:ska\/image {&quot;mode&quot;:&quot;svg&quot;,&quot;svg&quot;:&quot;\\u003csvg viewBox=\\u00220 0 24 24\\u0022 fill=\\u0022none\\u0022 xmlns=\\u0022http:\/\/www.w3.org\/2000\/svg\\u0022\\u003e\\u003cpath fill-rule=\\u0022evenodd\\u0022 clip-rule=\\u0022evenodd\\u0022 d=\\u0022M5.46967 5.46967C5.76256 5.17678 6.23744 5.17678 6.53033 5.46967L12 10.9393L17.4697 5.46967C17.7626 5.17678 18.2374 5.17678 18.5303 5.46967C18.8232 5.76256 18.8232 6.23744 18.5303 6.53033L13.0607 12L18.5303 17.4697C18.8232 17.7626 18.8232 18.2374 18.5303 18.5303C18.2374 18.8232 17.7626 18.8232 17.4697 18.5303L12 13.0607L6.53033 18.5303C6.23744 18.8232 5.76256 18.8232 5.46967 18.5303C5.17678 18.2374 5.17678 17.7626 5.46967 17.4697L10.9393 12L5.46967 6.53033C5.17678 6.23744 5.17678 5.76256 5.46967 5.46967Z\\u0022 fill=\\u0022currentColor\\u0022\/\\u003e\\u003c\/svg\\u003e&quot;,&quot;collection&quot;:&quot;heroicons&quot;,&quot;icon&quot;:&quot;24\/solid\/x-mark&quot;,&quot;wrap&quot;:false,&quot;sanitize&quot;:false,&quot;skaBlocks&quot;:{&quot;cx&quot;:&quot;w-6 h-auto text-current&quot;,&quot;css&quot;:&quot;.w-6{width:var(--spacing-6)}.h-auto{height:auto}.text-current{color:currentColor}&quot;,&quot;t&quot;:1758876679},&quot;skaBlocksWidth&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;6&quot;}}},&quot;skaBlocksHeight&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;auto&quot;}}},&quot;skaBlocksTextColor&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;current&quot;}}}} --&gt;\n&lt;svg aria-hidden=&quot;true&quot; class=&quot;w-6 h-auto text-current wp-block-ska-image&quot; viewBox=&quot;0 0 24 24&quot; fill=&quot;none&quot; xmlns=&quot;http:\/\/www.w3.org\/2000\/svg&quot;&gt;&lt;path fill-rule=&quot;evenodd&quot; clip-rule=&quot;evenodd&quot; d=&quot;M5.46967 5.46967C5.76256 5.17678 6.23744 5.17678 6.53033 5.46967L12 10.9393L17.4697 5.46967C17.7626 5.17678 18.2374 5.17678 18.5303 5.46967C18.8232 5.76256 18.8232 6.23744 18.5303 6.53033L13.0607 12L18.5303 17.4697C18.8232 17.7626 18.8232 18.2374 18.5303 18.5303C18.2374 18.8232 17.7626 18.8232 17.4697 18.5303L12 13.0607L6.53033 18.5303C6.23744 18.8232 5.76256 18.8232 5.46967 18.5303C5.17678 18.2374 5.17678 17.7626 5.46967 17.4697L10.9393 12L5.46967 6.53033C5.17678 6.23744 5.17678 5.76256 5.46967 5.46967Z&quot; fill=&quot;currentColor&quot;&gt;&lt;\/path&gt;&lt;\/svg&gt;\n&lt;!-- \/wp:ska\/image --&gt;\n&lt;\/button&gt;\n&lt;!-- \/wp:ska\/element --&gt;\n&lt;\/div&gt;\n&lt;!-- \/wp:ska\/element --&gt;\n&lt;!-- wp:ska\/element {&quot;skaBlocks&quot;:{&quot;cx&quot;:&quot;&quot;,&quot;css&quot;:&quot;&quot;,&quot;t&quot;:1758876679},&quot;className&quot;:&quot;content&quot;} --&gt;\n&lt;div class=&quot;wp-block-ska-element content&quot;&gt;\n&lt;!-- wp:paragraph --&gt;\n&lt;p&gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc dapibus malesuada tristique. Sed elit sapien, imperdiet at orci in, consectetur aliquam ligula. In vulputate at lorem ac vehicula. Ut hendrerit nulla nisl, vel ornare nisl molestie in. Aliquam sit amet nibh libero. Suspendisse vitae massa ac ex tincidunt iaculis blandit sit amet sapien.&lt;\/p&gt;\n&lt;!-- \/wp:paragraph --&gt;\n&lt;\/div&gt;\n&lt;!-- \/wp:ska\/element --&gt;\n&lt;\/dialog&gt;\n&lt;!-- \/wp:ska\/element --&gt;\n&lt;\/div&gt;\n&lt;!-- \/wp:ska\/element --&gt;<\/code><\/pre>\n\t<\/div>\n<\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>ska-theme includes a custom Alpine.js component for handling HTML dialog elements. The module abstracts away calling the native .showModal(), .close() functions, adds x-transition to the dialog and enables closing of the modal by clicking away from the modal. Creating a dialog Adding x-data=&#8221;skaDialog&#8221; do an element will locate a button and a dialog from its&#8217;&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[7],"class_list":["post-17","post","type-post","status-publish","format-standard","hentry","category-ska-theme","tag-alpine-js"],"_links":{"self":[{"href":"https:\/\/ska-blocks.com\/docs\/wp-json\/wp\/v2\/posts\/17","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ska-blocks.com\/docs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ska-blocks.com\/docs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ska-blocks.com\/docs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ska-blocks.com\/docs\/wp-json\/wp\/v2\/comments?post=17"}],"version-history":[{"count":2,"href":"https:\/\/ska-blocks.com\/docs\/wp-json\/wp\/v2\/posts\/17\/revisions"}],"predecessor-version":[{"id":337,"href":"https:\/\/ska-blocks.com\/docs\/wp-json\/wp\/v2\/posts\/17\/revisions\/337"}],"wp:attachment":[{"href":"https:\/\/ska-blocks.com\/docs\/wp-json\/wp\/v2\/media?parent=17"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ska-blocks.com\/docs\/wp-json\/wp\/v2\/categories?post=17"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ska-blocks.com\/docs\/wp-json\/wp\/v2\/tags?post=17"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}