/>PHP – functions.php

while (have_posts()) : the_post();
$customField = get_post_custom_values("full");
if (isset($customField[0])) {
the_title();
the_content();
} else {
the_title();
the_excerpt();
endwhile;
endif;
?>

/> /> /> Visit wpsnipp.com for details on how to setup this WordPress snippet. /> /> Share this post. Facebook | StumbleUpon | Delicious | Tweet It | Digg This | DesignBump-It | DesignPoke-it /> />

Tags: