Add Header & Footer-only template.

This commit is contained in:
Kjell Reigstad 2021-06-18 09:31:29 -04:00
parent bf50f65a50
commit 4a9b42faff
2 changed files with 18 additions and 0 deletions

View file

@ -0,0 +1,10 @@
<!-- wp:template-part {"slug":"header","tagName":"header","layout":{"inherit":true}} /-->
<!-- wp:group {"tagName":"main"} -->
<main class="wp-block-group post-content">
<!-- wp:post-content {"layout":{"inherit":true}} /-->
</main>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","tagName":"footer","layout":{"inherit":true}} /-->

View file

@ -18,6 +18,14 @@
"page",
"post"
]
},
{
"name": "header-footer-only",
"title": "Header and Footer Only",
"postTypes": [
"page",
"post"
]
}
],
"settings": {