WordPress / gutenberg

The Block Editor project for WordPress and beyond. Plugin is available from the official repository.
https://wordpress.org/gutenberg/
Other
10.49k stars 4.18k forks source link

Changing the template of a post has inconsistent and confusing menus for beginners. #66685

Open beckej13820 opened 2 hours ago

beckej13820 commented 2 hours ago

What problem does this address?

Recently, I was teaching a student about WordPress Templates, and showing how to create a new custom post template, and swap that template from the Post Editor.

Although we were able to figure it out, I wanted to share my experience, and suggest that the Template menu should change in the post editor.

The issue:

What is your proposed solution?

I think that three things should change:

  1. I believe that Swap Templates should remain available even if the only other template is the default template. This would mean in the workflow above, that to switch my site back to default, I could use the same method that I used to change it.
  2. I believe that the default template should be available on the swap template screen, and from this screen you should be able to see your current template and the possible options.
  3. I believe that the Swap Templates screen should have a button to create a new template from that view, so if you look over all the templates available and don't see what you are looking for, you can choose to create your new template from that screen.

Thank you.

beckej13820 commented 2 hours ago

This experience was with WordPress 6.7 RC-2 with the Twenty Twenty Five theme enabled, although I believe the experience would be the same with any block theme with only two templates, a default template and a secondary template.