Revision: 23475
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at February 8, 2010 11:59 by hstothard
Initial Code
<?php if( get_post_meta( $post->ID, "thumbnail", true ) ) { ?> <a href="<?php the_permalink() ?>" rel="bookmark" class="thumb"> <img src="<?php echo get_post_meta( $post->ID, "thumbnail", true ); ?>" alt="<?php the_title(); ?>" width="" /> </a> <?php }else{ ?> <a href="<?php the_permalink() ?>" rel="bookmark" class="thumb"> <img src="<?php bloginfo('template_directory'); ?>/images/temp.gif" alt="Image Coming Soon" width="" /> <span></span> </a> <?php } ?>
Initial URL
Initial Description
Initial Title
Wordpress - Custom field thumbnail
Initial Tags
wordpress
Initial Language
PHP