-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Template panel: "Default template" can be a confusing option label #41449
Comments
@jameskoster, with recent refactoring (#41925), what do you think if we display the template name as a button label, but leave "Default template" in the drop down? |
Personally I think that's a bit confusing – two elements in the UI seem to be telling me different things. Appending "(default)" to the default template name still seems the best way to provide clarity imo. |
Noting that feedback came in from the fifteenth call for testing from the FSE Outreach Program about how confusing this current experience is:
|
I'm unassigning the issue since Jorge is not currently available so that somebody else can pick it up 🙂 |
I had a PR that fixed this issue #45865. Fixing this issue is not something simple and involves computing the template that would be used if there was no template currently assigned to a post. Which is a special template resolution case and replicates some logic already existing in the core that is not extracted and reusable. At the time @youknowriad referred the added complexity to the codebase may not be worth the UX improvement and so the PR was closed. I don't think the situation changed meanwhile. |
Ah - that definitely makes it more complicated - thanks for the additional context @jorgefilipecosta |
I don't know where this went after the discussion, but - I'm new to Wordpress and I have to agree that seeing "Default Template" in drop-downs for selection, and then looking for "Default Template" in the template list and not finding it, is frustrating and confusing. Is there any mechanism that can be used to identify which template is the "Default Template"? |
Hey @MikeG14 thanks for chiming in on this discussion and for taking the time to find it. It's very helpful to hear feedback from folks like yourself. In terms of finding the default, I've heard recommendations from folks to try leaving a paragraph block with the word "test" or something similar in templates to help determine which is the default. After leaving some "test" text in the template you think is likely the default, you can then confirm if that properly shows up. Of note, there's a new experience coming to WordPress 6.5 around swapping templates that you might be interested in: new.template.movThere's some discussion around the phrasing there too in case you have any thoughts: #56845 If you're on WordPress.org slack, feel free to message me there (I'm @annezazu) and I can dig into your theme to figure it out for you too. |
All options in the dropdown explicitly use the template name as the label, except for the "Default template" option. This can be confusing if you then go to the Site Editor to edit this template, only to find that "Default template" doesn't exist.
Suggestion:
Update the default template option to state the template name, with '(default)' appended.
The text was updated successfully, but these errors were encountered: