Return to Snippet

Revision: 4977
at January 31, 2008 19:33 by kristin


Updated Code
<div class="lead-image-wrapper">
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
<?php $image = get_post_meta($post->ID, 'lead_image', true); ?>
<img alt="<?php the_title_attribute(); ?>" src="<?php echo $image ?>" />
</div>

Revision: 4976
at January 31, 2008 19:32 by kristin


Updated Code
<div class="lead-image-wrapper">
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
<?php $image = get_post_meta($post->ID, 'lead_image', true); ?>
</div>

Revision: 4975
at January 31, 2008 19:31 by kristin


Initial Code
<div class="lead-image-wrapper">
			<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
			<?php $image = get_post_meta($post->ID, 'lead_image', true); ?> 
			<?php echo $image; ?>
			</div>

Initial URL
http://5thirtyone.com/archives/875

Initial Description


Initial Title
WordPress (WP) Custom Fields

Initial Tags


Initial Language
PHP