create custom page template
This commit is contained in:
parent
92e51701d0
commit
8e92cec40f
@ -1,6 +1,5 @@
|
||||
<!-- wp:group {"layout":{"type":"default"}} -->
|
||||
<div class="wp-block-group">
|
||||
<!-- wp:template-part {"slug":"header","theme":"lex-scotland-theme","tagName":"header"} /-->
|
||||
<div class="wp-block-group"><!-- wp:template-part {"slug":"header","theme":"lex-scotland-theme","tagName":"header"} /-->
|
||||
|
||||
<!-- wp:group {"style":{"spacing":{"padding":{"right":"0","left":"var:preset|spacing|80"}}},"layout":{"type":"default"}} -->
|
||||
<div class="wp-block-group" style="padding-right:0;padding-left:var(--wp--preset--spacing--80)">
|
11
theme.json
11
theme.json
@ -376,5 +376,14 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"customTemplates": [
|
||||
{
|
||||
"name": "page-brochure",
|
||||
"postTypes": [
|
||||
"page"
|
||||
],
|
||||
"title": "Brochure"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user