[wp-trac] [WordPress Trac] #23965: Return Caption to display under Post Format Image

WordPress Trac noreply at wordpress.org
Sun Apr 7 06:19:30 UTC 2013


#23965: Return Caption to display under Post Format Image
-----------------------------+------------------------------
 Reporter:  RDall            |       Owner:
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Bundled Theme    |     Version:  trunk
 Severity:  normal           |  Resolution:
 Keywords:                   |
-----------------------------+------------------------------

Comment (by DrewAPicture):

 I'm reasonably certain hiding the caption wasn't intentional in the
 context of displaying it in the image format's content.

 In Twenty Thirteen we're essentially using `the_post_format_image()` as a
 replacement for `the_post_thumbnail()` for image formats. If an image is
 present in the image format meta, all that gets passed back is the marked-
 up image (above the title). Unfortunately, this also applies to what gets
 displaying in the image format's content (below the title).

 If Joen/Lancewillett only want the caption to show on the image format's
 content, that's fine but we need to differentiate that in
 `get_the_post_format_image()`.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/23965#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list