[wp-hackers] the_post_thumbnail 'full' with no width/height attr
CaptainN at unFocus.com
Wed Feb 16 18:45:38 UTC 2011
On 2/15/11 1:51 PM, Otto wrote:
> Here's a bit of a hack workaround that works too... If you do this,
> the width and height get left off entirely. You also get a weird
> attachment class, but which won't break anything.
> No guarantees on whether it will continue to work in the future.:)
Which would be less likely to break?
$custom = get_post_meta($custom["_thumbnail_id"],
It'd be nice if I could just override (or remove with NULL) width and
height manually in the attr array..
More information about the wp-hackers