Variation tooltip styling and edit post/page link styling#274
Merged
kimcoleman merged 8 commits intoApr 29, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates front-end “edit” affordances by adding a dedicated tooltip style for header/footer variation edit links and restyling post/page edit links to match a button-like UI with an icon.
Changes:
- Add a new SCSS component for header/footer variation edit-link tooltips and include it in the main SCSS build.
- Move header/footer variation edit-link markup inside the header/footer containers and add an inline pencil SVG icon.
- Restyle and relabel post/page edit links (“Edit Post” / “Edit Page”) and exclude them from the default entry-footer link styling.
Reviewed changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated 12 comments.
Show a summary per file
| File | Description |
|---|---|
src/scss/structure/_content.scss |
Excludes .post-edit-link from default entry-footer link styling; adds new button-like styling for edit links. |
src/scss/main.scss |
Registers the new tooltips component in the SCSS build. |
src/scss/components/_tooltips.scss |
Introduces tooltip styling/behavior for variation edit links in header/footer. |
inc/variations.php |
Adds pencil SVG icon and IDs for header/footer edit links to support tooltip styling. |
header.php |
Moves header edit link rendering inside the <header> element. |
footer.php |
Moves footer edit link rendering inside the <footer> element. |
components/post/entry-footer.php |
Updates post edit link label and adds inline SVG icon. |
components/page/content-page.php |
Updates page edit link label and adds inline SVG icon. |
components/page/content-landing.php |
Updates landing page edit link label and adds inline SVG icon. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
All Submissions:
Changes proposed in this Pull Request:
edit-linktooltips.edit-linkmarkup inside the header/footer containers.How to test the changes in this Pull Request:
Prep:
npm run buildin your theme directory.Testing:
Other information:
Changelog entry