Make WordPress Core

Opened 2 years ago

Closed 8 weeks ago

#54930 closed enhancement (reported-upstream)

Twenty Twenty-Two: Improve the default template provided to the post/page template editor

Reported by: kjellr's profile kjellr Owned by:
Milestone: Priority: normal
Severity: normal Version: 5.9
Component: Bundled Theme Keywords: dev-feedback
Focuses: Cc:

Description

Currently, selecting the "New" template option in the post/page editor results in a sample template that includes a generic header:

https://cldup.com/7juY60zOWn.gif

Instead of this template, Twenty Twenty-Two should provide one that's designed like its standard post/page templates, and uses the same header + footer.

This was attempted during the theme's initial development, but was blocked because Gutenberg did not properly load a theme's template parts into this template editor:

https://github.com/WordPress/twentytwentytwo/issues/177#issuecomment-954794119

There's a Gutenberg issue here to help fix that behavior:

https://github.com/WordPress/gutenberg/issues/36124

Once that's taken care of, this issue can be resolved here in the theme.

---

Originally reported by @poena on GitHub:
https://github.com/WordPress/twentytwentytwo/issues/177

Change History (4)

#1 @desrosj
2 years ago

  • Summary changed from [Twenty Twenty-Two] Improve the default template provided to the post/page template editor to Twenty Twenty-Two: Improve the default template provided to the post/page template editor

#2 @poena
5 months ago

This is also reported upstream. It could be fixed either in the theme or in the editor by improving the template creation flow for all block themes.

https://github.com/WordPress/gutenberg/issues/57636

#3 @karmatosed
3 months ago

  • Keywords dev-feedback added

To me, this should be fixed now upstream over in the theme. What do you feel now @poena?

#4 @poena
8 weeks ago

  • Milestone Awaiting Review deleted
  • Resolution set to reported-upstream
  • Status changed from new to closed

Yes lets close this as reported upstream.

Note: See TracTickets for help on using tickets.