Opened 2 years ago
Last modified 22 months ago
#16922 new enhancement
Add class to "via" paragraph in press-this.php
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Awaiting Review |
| Component: | Press This | Version: | 3.1 |
| Severity: | normal | Keywords: | has-patch 2nd-opinion |
| Cc: |
Description
When using "Press This," a paragraph is added to the bottom of the post with a link to the source, and, if there is a selected block of text being quoted, the word "via" prepended.
It would be helpful for themes to be able to style this paragraph, so I suggest adding a class to it such as "via".
Also, oughtn't this be wrapped in a <cite> tag as well?
Attachments (1)
Change History (6)
comment:1
topdownjimmy — 2 years ago
comment:2
topdownjimmy — 2 years ago
Attached patch to include class "press-this-via" to the "via" paragraph.
comment:3
topdownjimmy — 2 years ago
- Keywords has-patch added
- Keywords 2nd-opinion added
- Type changed from feature request to enhancement
No <cite>, see #17520.
Can't you add it via the HTML Editor? Also if you switch the <p> tags and the class are stripped. Maybe add it to the <a> tag directly.
Note: See
TracTickets for help on using
tickets.

Maybe "press-this-via" would be a more appropriate class name.