Add Site Tagline and Site Title to Design > Identity panel#76264
Add Site Tagline and Site Title to Design > Identity panel#76264
Conversation
Adds Site Title and Site Tagline as text fields to the Design > Identity panel, alongside the existing Site Logo and Site Icon media fields. Both fields edit the `root/site` entity (`title` and `description` properties), so changes are reflected by the Site Title and Site Tagline blocks in the editor preview. Uses a custom TextEdit component that renders field descriptions with `<Text variant="muted">` to match how MediaEdit renders its descriptions. The built-in DataForm text control renders descriptions via InputControl's `help` prop, which produces a smaller font size. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
|
Size Change: +146 B (0%) Total Size: 6.89 MB
ℹ️ View Unchanged
|
@ntsekouras curious what the best approach is here. Without doing this, the descriptions were different sizes and it looked rough. |
|
Flaky tests detected in d0602fd. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/22843953013
|
| } | ||
|
|
||
| .fields__media-edit-description { | ||
| font-size: $helptext-font-size; |
There was a problem hiding this comment.
@jameskoster I updated the help font size here to address Anne's comment. I believe it's fine, but do you see any drawback with this?
Summary
Adds Site Title and Site Tagline text fields to the Design > Identity panel, alongside the existing Site Logo and Site Icon media fields added in #76116. Closes #76261.
root/siteentity (titleanddescriptionproperties from/wp/v2/settings), so changes are reflected by the Site Title and Site Tagline blocks in the editor preview.TextEditcomponent that renders field descriptions with<Text variant="muted">to match howMediaEditrenders its descriptions. The built-in DataForm text control renders descriptions viaInputControl'shelpprop, which produces a smaller font size — the custom component ensures visual consistency across all four fields.Test plan
🤖 Generated with Claude Code