How do I get a custom post by its ID? I want to display a single post from custom post using its ID. I tried
'post_type' => 'homepage', 'post_id' => '717' but it didnt work.
You simply don't need to specify a
then you'll simply get this single post.
Note, according the Codex, when using