πŸ”₯ HOT: WordPress/gutenberg/issues/ - Uncensored 2025

Skip to content

FSE: Can't add new templates as per template hierarchyΒ #32861

@chandrapatel

Description

@chandrapatel

Description

I was trying to add archive page template for custom post type archive-{post_type}.html from Site Editor but there is no option. Add new template option only for Front Page, Page, Author, Category, Date, Tag, Single item: Post and Custom template.

I have tried using Custom template but it only applied to any single post or page.

Another example is that I can add new template for Category which applies to all category terms but I can't add new template for specific term using slug (category-$slug.html) or ID (category-$id.html) as per the template hierarchy.

I can add templates as per hierarchy in block theme and it's working, and I can edit in Site Editor.

I don't know if there is planning to add more new template options as per template hierarchy. I believe more template options will help user to add new templates for specific content type.

Step-by-step reproduction instructions

  1. Go to Appearance -> Editor.
  2. Click on WordPress Logo to open left sidebar.
  3. Click on Templates to see list of templates.
  4. Click on Add New button which shows list of template types.

Expected behaviour

User able to add new templates as per template hierarchy.

Actual behaviour

User unable to add new templates as per template hierarchy.

Screenshots or screen recording (optional)

WordPress information

  • WordPress version: 6.0.1
  • Gutenberg version: 13.7.2
  • Are all plugins except Gutenberg deactivated? Yes
  • Are you using a default theme (e.g. Twenty Twenty-Two)? Yes

Device information

  • Device: Desktop
  • Operating system: macOS
  • Browser: Microsoft Edge 103 (Chromium)

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Feature] Template Editing ModeRelated to the template editor available in the Block Editor[Status] Needs More InfoFollow-up required in order to be actionable.[Status] StaleGives the original author opportunity to update before closing. Can be reopened as needed.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions