Skip to content
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

When creating a template in the post editor, ask the user whether it should be $custom or specific (page-$slug) #41257

Open
Tracked by #41241
jameskoster opened this issue May 23, 2022 · 3 comments
Labels
[Feature] Template Editing Mode Related to the template editor available in the Block Editor [Type] Enhancement A suggestion for improvement.

Comments

@jameskoster
Copy link
Contributor

Whilst editing a post it's possible to create a new template via the "Template" panel in the inspector. Doing so will create a $custom template that can subsequently be applied to any other post.

Sometimes it may be preferable to create a template just for the post currently being edited. We should offer the user the chance to choose their preference.

This can potentially reuse parts of the UI from the site editor where it is possible to create generic (e.g. page) or specific (e.g. page-$slug) templates.

@jameskoster jameskoster added the [Feature] Template Editing Mode Related to the template editor available in the Block Editor label May 23, 2022
@jameskoster
Copy link
Contributor Author

A similar choice is presented when creating a single-post template in the site editor:

Screenshot 2022-07-04 at 17 37 20

We can potentially reuse this pattern here:

Screenshot 2022-07-04 at 17 38 01

@jordesign
Copy link
Contributor

Closing this issue as the feature mentioned is now present in WP6.3

Screenshot 2023-09-12 at 11 22 43 am

@jameskoster
Copy link
Contributor Author

It's possible in the site editor, but not the post editor. A gap still remains here.

@jameskoster jameskoster reopened this Sep 12, 2023
@jordesign jordesign added the [Type] Enhancement A suggestion for improvement. label Sep 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Template Editing Mode Related to the template editor available in the Block Editor [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

2 participants