You can use get_page()
to return the $post
object of a static page:
1 2 3 | $post_id = 302; $post_object = get_post( $post_id ); echo $post_object->post_content; |
If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.