[wp-trac] [WordPress Trac] #17017: Check if a post has a featured image and get its URL (outside from the_loop)
WordPress Trac
wp-trac at lists.automattic.com
Mon Apr 4 13:42:09 UTC 2011
#17017: Check if a post has a featured image and get its URL (outside from
the_loop)
-----------------------------+------------------------------
Reporter: wiltave | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 3.1
Severity: normal | Resolution:
Keywords: |
-----------------------------+------------------------------
Comment (by wiltave):
Sorry about has_post_thumbnail. It worked. I haven't tried the "hacky"
solution, but what about a simple function call instead of a "hacky"? I
still suggest a function for that because a simple function call would be
better for themes.
Thank you very much andrewryno.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17017#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list