You can use get_post_field()
for getting the post fields i.e. Title, Content etc.
// Replace $post_id with the ID of your post/page
<?php
get_post_field( post_title, $post_id);
get_post_field( post_content, $post_id);
?>
You can use get_post_field()
for getting the post fields i.e. Title, Content etc.
// Replace $post_id with the ID of your post/page
<?php
get_post_field( post_title, $post_id);
get_post_field( post_content, $post_id);
?>