-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
FSE: Use slug for template part display label #21161
Conversation
Size Change: +24 B (0%) Total Size: 856 kB
ℹ️ View Unchanged
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM code wise, maybe @mtias could chime-in about the displayName
@mtias That's the same thing, we're using |
omg |
yes, we need to add "labels" for the templates and template parts but the way they are written now. We'd need to support similar comments to the php templates in order to be able to define these from themes and also provide a UI to set this label in the Edit Site page. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's get this in, but let's try to revisit the information we gather on the templates and template parts post types.
wow, 3 approvals in < 24 hours, it must be a new record! will rebase to try to get the tests passing. I can't merge without all passing checks :/ |
7baa4e7
to
2d3d7a9
Compare
I also added |
Description
Use the slug attribute for template part block display label.
Thoughts:
Screenshots
Types of changes
Resolves #21104
Checklist: