On my home page I'd like to display the title and content from a few pages (about page, contact page, etc.). It looks like the template tag get_post can be used, but I'm not savvy enough with PHP to make it so.
I found the code snippet below and it works.
$id = 17;
$post = get_page($id);
$content = apply_filters('the_content', $post->post_content);
$title = $post->post_title;