[wp-trac] [WordPress Trac] #33070: the_thumbnail_url or similar

WordPress Trac noreply at wordpress.org
Wed Jul 22 13:58:23 UTC 2015


#33070: the_thumbnail_url or similar
-----------------------------+------------------------------
 Reporter:  atomicjack       |       Owner:
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Post Thumbnails  |     Version:  4.2.2
 Severity:  normal           |  Resolution:
 Keywords:                   |     Focuses:  template
-----------------------------+------------------------------

Comment (by swissspidy):

 You could use `wp_get_attachment_url( get_post_thumbnail_id( $post_id ) )`
 for example.  Isn't that easy enough?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/33070#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list