| name | language | licence |
|---|---|---|
| get post thumbnail | PHP | BSD |
language: PHP
licence: BSD
get post thumbnail
options: view full snippet • send to code collector
<?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 } ?>



library
buttons (3)
wp (93)