Skip to content

Instantly share code, notes, and snippets.

@JiveDig
Created November 11, 2013 19:54
Show Gist options
  • Select an option

  • Save JiveDig/7419297 to your computer and use it in GitHub Desktop.

Select an option

Save JiveDig/7419297 to your computer and use it in GitHub Desktop.
Show the post content if it exists
// Show post content if it exists
$post = get_post($post->ID);
if($post->post_content=="") {
echo '<p>No description provided.</p>';
} else {
genesis_do_post_content();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment