Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Get content by ID

$content_post = get_post($my_postid);
$content = $content_post->post_content;
$content = apply_filters('the_content', $content);
$content = str_replace(']]>', ']]>', $content);