WordPress.org

Make WordPress Core

Opened 15 months ago

Closed 3 months ago

#23287 closed enhancement (wontfix)

Press This enhancement - enclose included content in a div to allow styling

Reported by: daldred Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.5
Component: Press This Keywords:
Focuses: Cc:

Description

The Press This functionality is effective and simple, but the content it drops into a blog post has no enclosing <div>, and as a result cannot be styled using the theme's CSS file to differentiate it from the blogger's comments.

I've posted on my own blog this post describing how I've made a fairly simple change to insert div tags round the quoted content.

Ideally the div would also wrap the image, but that was beyond me!

Can this be looked at as an enhancement?

Change History (1)

comment:1 johnbillion3 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to wontfix
  • Status changed from new to closed

A <div> isn't a semantic element to wrap around post content. <blockquote> makes the most sense, but this depends on context and how the user uses Press This. It wouldn't be desirable to or appropriate for most users.

Note: See TracTickets for help on using tickets.