Opened 9 years ago
Closed 9 years ago
#38403 closed defect (bug) (fixed)
Twenty Seventeen: Comment by post author SVG
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 4.7 | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | Bundled Theme | Keywords: | has-patch |
| Focuses: | Cc: |
Description
There is still missing SVG icon in "comment by post author". I'd like to add this icon directly to HTML but not sure if that's possible. It would require some sort of is_comment_and_post_author function and perhaps also custom callback function.
Or use JS for this like we possible need for quote post format icon.
This issue is also note and reminder for myself.
Attachments (2)
Change History (5)
Note: See
TracTickets for help on using
tickets.
I investigated a couple ways to add the
.bypostauthorSVG icon inline, but both seem a bit too much for this one thing. I tried the following:get_comment_author; unfortunately this adds it everywhere, and even when restricted to single posts and pages affects comments in widgets. We can hide with CSS, but that seems hacky.I discussed with @melchoyce and she suggested altering the design a bit to avoid doing anything over the top to add the SVG (mockup attached). The patch adds that design, plus updates rtl.css, colors-dark.css, and color-patterns.php.