Wednesday, 16 December 2015

How to display post featured image and content call by Post ID WordPress

<?php $post = get_post(159); setup_postdata($post);?>
<p><?php  the_content();?></p>

<?php the_post_thumbnail(); ?>

No comments:

Post a Comment

Alternative content