You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Site Editor] Templates and Template Parts screens - Provide a way for users to add a description to custom templates. #36664
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
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.
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?
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
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.
Activity
[-][Site Editor] Templates - Templates and Template Parts screens[/-][+][Site Editor] Templates and Template Parts screens - add Published date.[/+]talldan commentedon Nov 22, 2021
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.
jameskoster commentedon Nov 22, 2021
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.
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?
[-][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.[/+]paaljoachim commentedon Nov 22, 2021
I am refocusing this issue. So users can add a description to the custom templates.
paaljoachim commentedon Nov 22, 2021
My initial thought would be using the 3 dot drop down.
When there is a description in place "Add description" would change to "Edit description".
jameskoster commentedon Nov 22, 2021
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:
annezazu commentedon Apr 6, 2022
Noting that this was discussed during the 6.0 walkthrough as something to explore.
jameskoster commentedon Apr 6, 2022
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.
jasmussen commentedon Aug 10, 2026
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.