WordPress template files now showing in the page template
-
I created a theme, and added template files. however, those templates are not visible on the page to use them as templates. I want to use home.html as my home page, but there is no option to select it.
{
"$schema": "https://schemas.wp.org/trunk/theme.json",
"version": 3,
"settings": {
"appearanceTools": true,
"layout": {
"contentSize": "620px",
"wideSize": "1200px"
},
"spacing": {
"units": ["px", "em", "rem", "vh", "vw", "%"]
},
"typography": {}
},
"styles": {},
"customTemplates": [
{
"name": "home",
"title": "Home",
"postTypes": ["page"]
},
{
"name": "archive",
"title": "Archive",
"postTypes": ["page", "post"]
},
{
"name": "blank",
"title": "Blank",
"postTypes": ["page", "post"]
}
]
}tree 17:54:26
.
├── parts
│?? ├── comments.html
│?? ├── footer.html
│?? ├── header.html
│?? └── sidebar.html
├── patterns
│?? └── header-default.php
├── style.css
├── templates
│?? ├── 404.html
│?? ├── archive.html
│?? ├── blank.html
│?? ├── home.html
│?? ├── index.html
│?? ├── no-title.html
│?? ├── page.html
│?? ├── search.html
│?? └── single.html
└── theme.json
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.