Skip to content

Instantly share code, notes, and snippets.

@jhgreenblatt
Created May 8, 2010 17:33
Show Gist options
  • Select an option

  • Save jhgreenblatt/394669 to your computer and use it in GitHub Desktop.

Select an option

Save jhgreenblatt/394669 to your computer and use it in GitHub Desktop.
implementation
global $post;
?><div id="post-<?php the_ID(); ?>" class="<?php thematic_post_class();?>"> <?php
if(get_post_meta($post->ID, 'input-one')){
echo get_post_meta($post->ID, 'input-one', $single = true);
}
if(get_post_meta($post->ID, 'input-two')){
echo get_post_meta($post->ID, 'input-two', $single = true);
}
?></div><?php//closing the post div
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment