-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Closed
Labels
Needs DesignNeeds design efforts.Needs design efforts.Needs Design FeedbackNeeds general design feedback.Needs general design feedback.[Feature] Site EditorRelated to the overarching Site Editor (formerly "full site editing")Related to the overarching Site Editor (formerly "full site editing")[Type] EnhancementA suggestion for improvement.A suggestion for improvement.[Type] Tracking IssueTactical breakdown of efforts across the codebase and/or tied to Overview issues.Tactical breakdown of efforts across the codebase and/or tied to Overview issues.
Description
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:
- Custom/general templates Site Editor: Add New - Custom/General template #36860
- Template for a specific post (
single-post-$slug
) - Template for a specific page (
page-$slug
) - Date template (
date
) - Attachment template (
attachment
)
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:
- Ensure that no templates created in these flows are empty (FSE: Pre-populate template with fallback upon creation #42007)
carolinan, Mamaduka, annezazu, chthonic-ds, karmatosed and 8 more
Metadata
Metadata
Assignees
Labels
Needs DesignNeeds design efforts.Needs design efforts.Needs Design FeedbackNeeds general design feedback.Needs general design feedback.[Feature] Site EditorRelated to the overarching Site Editor (formerly "full site editing")Related to the overarching Site Editor (formerly "full site editing")[Type] EnhancementA suggestion for improvement.A suggestion for improvement.[Type] Tracking IssueTactical breakdown of efforts across the codebase and/or tied to Overview issues.Tactical breakdown of efforts across the codebase and/or tied to Overview issues.