Skip to content

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

Open

Description

@jameskoster

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.

Activity

  1. jameskoster commented on Jul 4, 2022

    @jameskoster
    ContributorAuthor

    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

  2. jordesign commented on Sep 12, 2023

    @jordesign
    Contributor

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

    Screenshot 2023-09-12 at 11 22 43 am
  3. jameskoster commented on Sep 12, 2023

    @jameskoster
    ContributorAuthor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions