Site Editing Infrastructure and UI: Part 3 #27814
Comments
One more suggestion to add: While editing a template within the post editor, I went to the code editor mode, and the code editor mode returned the content of the post, not the template's content (what I expected); this is a result of #22528 |
#30438 is now merged so classic themes can use blocks to build custom templates for pages and all CPTs that support Page templates now. |
Added Allow themes to opt-in/out of the "Create new template" flow to the list. |
That's already possible with the |
Short term, are the template and template part menus under Appearance going to be in 5.8? If not:
If kept: |
I think these screens are not meant to be shipped at all. So yeah if the template editor makes it to 5.8, we need at least a "delete" template somewhere in the template mode or the template panel. |
Assuming dedicated template management (IE Appearance > Templates) doesn't ship in 5.8, it won't be possible to create these templates in the UI. So I think it's fair to assume there will not be an expectation of edit-ability either.
There is a revert affordance for customised block theme templates in the site editor. We can use that same design for deletion in the template editor. I'll make an issue. |
it won't be possible to create these templates in the UI |
Not create the templates you mentioned specifically: search, archive, 404, etc. |
Added this to the list based on the recently created #31076 |
youknowriad commentedDec 18, 2020
•
edited by jameskoster
In #26355 we've introduced an initial version for the template editor mode in the post editor. This highlighted a few issues in the design/flows of that feature. The current issue is an overview tracking the progress for all oft these follow-ups:
Blank Canvas Template
Interface
Infrastructure
The text was updated successfully, but these errors were encountered: