Skip to content

[Site Editor] Templates and Template Parts screens - Provide a way for users to add a description to custom templates. #36664

Closed

Description

@paaljoachim

NB! Refocusing issue from adding a column for published date to instead making it possible for users to add descriptions to custom templates.


The following is based on testing the PR Gutenberg Build from this PR:
#36379 (comment)

What problem does this address?

If the user has two similar templates it would be helpful to have a column for when the template was created.

Screenshot 2021-11-19 at 16 24 43

What is your proposed solution?

Perhaps something similar to this (Refocusing the issue so users can add a description to custom templates)

Templates-list-date

Activity

  1. changed the title [-][Site Editor] Templates - Templates and Template Parts screens[/-] [+][Site Editor] Templates and Template Parts screens - add Published date.[/+] on Nov 19, 2021
  2. talldan commented on Nov 22, 2021

    @talldan
    Contributor

    This isn't part of the design that @jameskoster put together.

    At the moment templates and template parts don't support a published date. Like the 'Author' field that would have to be something added to the post type. There's also the same situation with author that a lot of these templates are files, so won't have a concept of being published.

  3. jameskoster commented on Nov 22, 2021

    @jameskoster
    Contributor

    I wonder if there's a better way to do this. For the vast majority of templates the publish date is not useful information, indeed I'm not sure how we'd even determine the publish date for templates supplied by theme / plugin packages.

    If the user has two similar templates

    In this case, they should probably use the description field to elaborate. It's not currently possible to edit the description for custom templates, so perhaps this issue is where we explore how to enable that?

  4. changed the title [-][Site Editor] Templates and Template Parts screens - add Published date.[/-] [+][Site Editor] Templates and Template Parts screens - Provide a way for users to add a description to custom templates.[/+] on Nov 22, 2021
  5. paaljoachim commented on Nov 22, 2021

    @paaljoachim
    ContributorAuthor

    I am refocusing this issue. So users can add a description to the custom templates.

  6. paaljoachim commented on Nov 22, 2021

    @paaljoachim
    ContributorAuthor

    My initial thought would be using the 3 dot drop down.

    Add-description

    When there is a description in place "Add description" would change to "Edit description".

  7. jameskoster commented on Nov 22, 2021

    @jameskoster
    Contributor

    Yeah I think that makes sense. It may also be good to offer a way to add/edit the description whilst editing the template as well:

    Screenshot 2021-11-22 at 10 48 14

  8. annezazu commented on Apr 6, 2022

    @annezazu
    Contributor

    Noting that this was discussed during the 6.0 walkthrough as something to explore.

  9. jameskoster commented on Apr 6, 2022

    @jameskoster
    Contributor

    We recently added a 'Summary' panel in the post editor where you can edit the post excerpt. We should explore aligning with that pattern here.

  10. jasmussen commented on Aug 10, 2026

    @jasmussen
    Contributor

    This looks resolved: custom templates can now have descriptions, editable both from the Summary panel while editing a template ("Write a description") and from the Description field in the templates list — matching the excerpt/Summary pattern suggested 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

    Needs Design FeedbackNeeds general design feedback.[Feature] Site EditorRelated to the overarching Site Editor (formerly "full site editing")[Type] EnhancementA suggestion for improvement.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions