Conditional display based on excerpt

showing the full content in an archive if the excerpt is not populated

< ? php if (!empty($post->post_excerpt)) : ?>

< a href="< ? php the_permalink(); ?>” rel=”bookmark”>< img src="< ? php echo my_image_display(); ?>“/>

< h1 class="entry-title">< a href="< ? php the_permalink(); ?>” rel=”bookmark”>< ? php the_title(); ?>< /h1>

< ? php the_excerpt();?>

< p class="archive-link">< a href="” rel=”bookmark”>read more< / p>

< ? php else : ?>

< h1 class="entry-title">< / h1>

< ? php the_content(); ?>

< ? php endif; ?>