This is F*ing driving me nuts how undocumented this is.....
I have several standard custom fields saved (not using the plugin)... these work fine, and then I have 6 tinyMCE rich-text areas that I need to output (images and all). I'm trying to output just 1 of them and its not working (Overview)
I have no idea how to output it in my loop-surgeon.php template however....
<?php
// Retrieve custom meta values from post if they're present
$email = htmlspecialchars(get_post_meta($post->ID, "email", true));
$phone = htmlspecialchars(get_post_meta($post->ID, "phone", true));
$address = htmlspecialchars(get_post_meta($post->ID, "address", true));
$website = htmlspecialchars(get_post_meta($post->ID, "website", true));
//Begin Custom Fields Template variables
$overview = htmlspecialchars(get_post_meta($post->ID, "overview", true));
?>
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<h1 class="entry-title"><?php the_title(); ?></h1>
<?php echo $email; ?>
<?php echo $overview; ?>
<div class="entry-content">
<br style="clear:both;" />
<?php the_content(); ?>
</div><!-- .entry-content -->
</div><!-- #post-## -->
<?php endwhile; // end of the loop. ?>