the_content getting current page content instead specified ID
Set postdata after get_post to set their data. $id=12; $post = get_post($id); setup_postdata($post); $content = apply_filters(‘the_content’, $post->post_content); echo $content; wp_reset_postdata();