Enjoy Raghunath Code!
<?php $post_7 = get_post(7); $title = $post_7->post_title; //get the post title
$content = $post_7->post_content; //get post content ?>
How to get wordpress post content by post id: WordPress
Hello Friends! If you want to get the post content anywhere in your templates files using post id, then use my code, hope this will be help full to all my friends :)