Skip to content

Expand the types of templates that can be added in the Site Editor #37407

@jameskoster

Description

@jameskoster

Currently it's possible to add the following Primary templates in the Site Editor:

  • Front page
  • Single
  • Page
  • Archive
  • Search
  • 404
  • Index

It's a good start, but the WordPress template hierarchy allows for much more expression. It would be good to explore flows that allow the creation of:

Author templates

  • author
  • author-$nicename

Category templates

  • category
  • category-$slug

Custom post type templates

  • single-$post-type
  • single-$posttype-$slug
  • archive-$posttype

Taxonomy templates

  • taxonomy
  • taxonomy-$taxonomy
  • taxonomy-$taxonomy-$term

Tag templates

  • tag
  • tag-$slug

Tangentially related:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs DesignNeeds design efforts.Needs Design FeedbackNeeds general design feedback.[Feature] Site EditorRelated to the overarching Site Editor (formerly "full site editing")[Type] EnhancementA suggestion for improvement.[Type] Tracking IssueTactical breakdown of efforts across the codebase and/or tied to Overview issues.

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions