[wp-hackers] the_post_thumbnail 'full' with no width/height attr

Otto otto at ottodestruct.com
Tue Feb 15 18:51:10 UTC 2011


On Tue, Feb 15, 2011 at 12:25 PM, Kevin Newman <CaptainN at unfocus.com> wrote:
> That did it nicely!

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.

the_post_thumbnail(array(0.1,0.1));

No guarantees on whether it will continue to work in the future. :)

-Otto


More information about the wp-hackers mailing list