Display a page content in another page

Using Page ID

<?php wp_reset_query(); ?>
<?php
query_posts( ‘page_id=753’);
if ( have_posts() ) :
while ( have_posts() ) : the_post();
?>
<?php echo get_the_post_thumbnail($page->ID, ‘full’); ?>
<div>
<h3><?php the_title() ?></h3>
<?php the_content();?> </div>
<?php
endwhile;
endif;
wp_reset_query();
?>

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s