[wp-trac] [WordPress Trac] #28461: Add a fallback parameter to get_the_post_thumbnail() to find images

WordPress Trac noreply at wordpress.org
Wed Oct 15 21:12:54 UTC 2014


#28461: Add a fallback parameter to get_the_post_thumbnail() to find images
-----------------------------+------------------------------
 Reporter:  krogsgard        |       Owner:
     Type:  enhancement      |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Post Thumbnails  |     Version:  3.9
 Severity:  normal           |  Resolution:
 Keywords:                   |     Focuses:  template
-----------------------------+------------------------------

Comment (by obenland):

 If used on single posts, that could lead to unwanted post title
 sandwiches. I wonder if it wouldn't just lead to more user frustration and
 confusion, when featured images show up without explicitly setting them.
 I'm sure there would also be a lot of instances where no image in the post
 content would be a good fit as a representation for the entire post.

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


More information about the wp-trac mailing list