Full Site Editing/FSE: Creating New Template Issue #59581
Labels
[Feature] Post/Page Editor
The editor for editing posts and pages.
[Goal] Full Site Editing
[Pri] Normal
Schedule for the next available opportuinity.
Triaged
To be used when issues have been triaged.
[Type] Bug
User Report
This issue was created following a WordPress customer report
Quick summary
Creating a new template is quite tricky. There is a "Add New" button that somehow will only open the Front Page template (what if the user wants to create a completely new template?) -- and the button will go missing once the Front Page template is created -- and creating a new template from the page/post editor sidebar pops up an error.
Steps to reproduce
There are two ways of creating a new template, and both of them need improvements.
Creating a new template from Templates section:
Go to Appearance section, then click "Editor". This will open template editor as expected.
Click the dropdown arrow on the header area. Click "Browse all templates".
Why this is important: "Add New" button gives understanding that users can create templates as many as they want. To have "Add New" button disappears can be quite confusing.
Create a new template from post/page sidebar:
Open/edit a post or a page.
On the sidebar, notice "Template" tab. Click on it, and click "New" to create a new template.
Name the new template.
The error appears on another issue (switching template):
#59570
The template, however, is visible and actually saved on Templates section (this is the WP Admin view:
...wp-admin/edit.php?post_type=wp_template
):... And on Templates area:
Why this is important: The error message will definitely caused confusion and frustration on users.
What you expected to happen
For users to be able to create templates, no matter from where they are coming from (either from Templates section or from post/page editor sidebar)
What actually happened
Missing "Add New" button on Templates section and error message when saving a template
Context
Personal testing on my personal site. FSE active, Free plan.
Simple, Atomic or both?
Simple
Theme-specific issue?
No response
Browser, operating system and other notes
No response
Reproducibility
Consistent
Severity
Most (> 50%)
Available workarounds?
Yes, difficult to implement
Workaround details
I have been tinkering with FSE for a couple of weeks, and I found it's really easy to create a new template from WP Admin:
WEBSITEADDRESS/wp-admin/edit.php?post_type=wp_template
I'm not sure how we want to use this, but maybe as a fallback, we can add the Templates section? I noticed it was there 1-2 weeks ago:
(Please disregard the red box on "Editor" section -- I use it for my personal blog purpose. Notice there are "Templates" and "Template Parts" after "Editor")
The text was updated successfully, but these errors were encountered: