Revision: 50599
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at August 28, 2011 17:00 by imaginarydesign
Initial Code
//post thumbnails - add to fucntions
add_theme_support( 'post-thumbnails' );
//add to loop
<?php
if ( has_post_thumbnail() ) {
<?php the_post_thumbnail(); ?>
} else {
// the current post lacks a thumbnail
}
?>
Initial URL
Initial Description
Initial Title
wp adds post thumnails
Initial Tags
wordpress
Initial Language
PHP