create custom page template

This commit is contained in:
Aadil Ayub 2024-05-13 15:42:42 +05:00
parent 92e51701d0
commit 8e92cec40f
2 changed files with 11 additions and 3 deletions

View File

@ -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)">

View File

@ -376,5 +376,14 @@
}
}
}
},
"customTemplates": [
{
"name": "page-brochure",
"postTypes": [
"page"
],
"title": "Brochure"
}
]
}