Add header-footer-only template. (#5281)
This commit is contained in:
parent
8a0ae07703
commit
f56dd5ff95
2 changed files with 15 additions and 0 deletions
7
livre/templates/header-footer-only.html
Normal file
7
livre/templates/header-footer-only.html
Normal 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"} /-->
|
|
@ -8,6 +8,14 @@
|
|||
"page",
|
||||
"post"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "header-footer-only",
|
||||
"title": "Header and Footer Only",
|
||||
"postTypes": [
|
||||
"page",
|
||||
"post"
|
||||
]
|
||||
}
|
||||
],
|
||||
"settings": {
|
||||
|
|
Loading…
Add table
Reference in a new issue