groups

Link to this snippet:


Download to Code Collector

language: PHP
licence: BSD

get post thumbnail

options: send to code collectorview all maeghan's snippets
<?php $thumbnail = get_post_meta($post->ID, "thumbnail", true);
if ($thumb = "") { } else {?>
<div class="thumbnail">
<img  width="80px" src="<?php $values = get_post_custom_values("thumbnail"); echo $values[0]; ?>" alt="<?php the_title(); ?>" />
</div>
<?php } ?>