Get page content by ID
Display a specific full page title and/or content using only the page IDs in wordpress.
$id=1;
$page = get_post($id);
$title = apply_filters('the_title', $page->post_title);
$content = apply_filters('the_content', $page->post_content);
if($page) {
echo $title;
echo $content;
}