[wp-trac] [WordPress Trac] #12235: Display caption with the_post_thumbnail
WordPress Trac
noreply at wordpress.org
Fri Jul 5 12:50:56 UTC 2013
#12235: Display caption with the_post_thumbnail
-----------------------------+-----------------------------
Reporter: hd-J | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: Future Release
Component: Post Thumbnails | Version: 2.9
Severity: normal | Resolution:
Keywords: |
-----------------------------+-----------------------------
Comment (by johnbillion):
I don't believe there's need for a new argument for this function at all.
You have much more control over the output by outputting the caption
yourself in your template file. Should we add arguments for every field?
(caption, title, description).
We could probably add some new template tags to help with this (I have
some that I use in my theme framework) but extra arguments for
`the_post_thumbnail()` isn't the way to go.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12235#comment:15>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list