• Resolved exelexys

    (@exelexys)


    After accepting a recent update, the only templates listed in the Template drop-down when creating / editing a page are:

    Default template
    Blank
    Full Width

    All the Blockify templates are shown in the Full Site Editor (Appearance > Editor > Themes Editor > Templates) but not in the drop down:

    404
    Archive
    Blank
    Front Page
    Full Width
    Index
    Page
    Search
    Single

    Created my own templates based on these, with different names, but not sure why the Blockify templates are no longer selectable. Is there a limit to the number of templates that can appear in the Templates drop down when creating / editing a page?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter exelexys

    (@exelexys)

    Something strange is definitely afoot with selectable templates, not only in the parent theme, but also in the child theme generated using Create Block Theme plugin.

    Same three templates are selectable in the child theme:
    Default template
    Blank
    Full Width

    Starting to think creating my own templates might be causing this issue?

    Theme Author Blockify

    (@blockify)

    Hi @exelexys,

    The following core templates are only shown in the Site Editor:

    404
    Archive
    Front Page
    Index
    Search
    Single

    These templates are used by WordPress for the specific pages. Only the custom page templates are selectable when editing a page or post.

    If you require more page templates, you will also need to add them to the customTemplates section of the theme.json file, e.g:

    
    "customTemplates": [
        {
          "title": "Blank",
          "name": "blank",
          "postTypes": [
            "page",
            "post"
          ]
        },
        {
          "title": "Full Width",
          "name": "full-width",
          "postTypes": [
            "page",
            "post"
          ]
        }
      ],
    

    I hope that helps, let me know if you have any other questions ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Blockify templates not selectable’ is closed to new replies.