• Resolved tersu

    (@tersu)


    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)
  • The topic ‘WordPress template files now showing in the page template’ is closed to new replies.