How can I get specific page or post content to any of pages in the WordPress.You don’t have a write sql codes.Simply call to WordPress core functions only.
post_content; // get all post details $contents = apply_filters('the_content', $contents); // filter to get post content $contents = str_replace(']]>', ']]>', $contents); echo $contents; ?>
In the above example, it will display only page description/content only.Also this can be use in any pages in the wordpress.