Add header-footer-only template. (#5281)

This commit is contained in:
Kjell Reigstad 2022-01-11 11:26:15 -05:00 committed by GitHub
parent 8a0ae07703
commit f56dd5ff95
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 0 deletions

View file

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

View file

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