Use this in line smart-posts.php:122
<br />
<div class="left"><br />
<a>" title="<?php the_title_attribute(); ?>"><br />
<?php the_post_thumbnail(array($instance["thumb_w"], $instance["thumb_h"])); ?><br />
</a><br />
</div><br />
<?php endif; ?><br />
Instead of using the style attribute, resize the thumbnail via:
the_post_thumbnail(array($instance["thumb_w"], $instance["thumb_h"]));
]]>
Hi I’m looking for a widget to display custom post types with thumbnails. However, most widgets that show custom post types require a “featured image” to be set. I’m looking for one that automatically finds an image for the thumbnail. Does this do that?
]]>