-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Site Editor: Add New - Custom/General template #36860
Comments
I am able to add a new template for "Front Page", "Archive" and "Search" but not a custom/general template. Anne made this reply:
Here: #36741 (comment) |
Yup, custom templates are an enhancement. It's already possible to create them in the post editor using this UI: We need to bring that functionality to the templates list view as well. A little thought will be required to get the name / description right in the popover. @paaljoachim did you have any thoughts there? |
@jameskoster I am not fully sure I am on the same track so to speak, but this is what I am thinking. Starting with what we have currently. The Add New drop down showing various Template types and their description. User should then be able to edit a template and modify the descriptions of the custom templates. (Could do so through the 3 dot menu or directly inside the sidebar of a selected template.) |
I think the description may need to be a little more elaborate, and explain where these "custom template"s can be used. |
Yes. That it does. Here is one suggestion. I assume it would be something like this (from my limited understanding). |
Maybe something like:
What do you think? |
That is right on the dot! As the template is applied to a post or page. |
+1 I really like that phrasing! |
A use case. I noticed the following brought up in the Slack channel: #fse-outreach-experiment Point number 3. I am bringing it up here as another reason why we also need the Custom/General template in WP 5.9. Adding in the General/Custom option will always keep the Add New button visible in the Templates screen. |
Yes, I agree with @paaljoachim. The lack of an Add New button is a bit disorienting and would be a huge add if it can be included in 5.9. |
Pinging @priethor, @noisysocks, and @youknowriad for whether or not to include this in 5.9. (I have no idea how this feature works though 😅 ) |
I think it could be similar to how we handle it in |
@kevin940726 Although it can feel strange to the most advanced/tinkerer users to be able to add custom templates in the Template Editor and not in the Site Editor (less advanced users won't use the Template Editor), this will be the first version of the templates list, so although a nice to have, I don't think this is a blocker. There is already a lot of work and testing in the works in #36488 and we should be mindful of the timeline, but I'm also happy to include it if contributors feel it is ok to add it at this late stage and somebody has the bandwidth to implement it 🙂 |
Works for me! Thank you @priethor! |
Noting this remains a point of confusion for the Site Editor functionality and came up in the fourteenth call for testing for the FSE Outreach Program:
|
Associated:
[Site Editor] Templates list screen overview
#36597
What problem does this address?
In Templates.
When clicking "Add New". There is no option to create a general/custom template.
What is your proposed solution?
We should be able to create a "Custom" template.
--
I initially added some info about it here:
Site Editor: Create consistency between Template and Templates Part - "Add New" modal/dropdown.
#36741
The text was updated successfully, but these errors were encountered: