| name | language | licence |
|---|---|---|
| Rounded Corners with Border-Radius | PHP | BSD |
| get post thumbnail | PHP | BSD |
| functions | PHP | GPL 2 |
| header | PHP | GPL 2 |
| single | PHP | GPL 2 |
| buttons | PHP | Other |
| PHP | Other | |
| Untitled Snippet |
< 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 >
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)