Post Featured image display
-
Hi Guys,
I know this should be easy but I am stuck. I have a custom home page and am passing this information to display the post title and content but cant get the featured image of this post to work.
Here is the code I am using:
<?php post_id = 3014; $queried_post = get_post($post_id); ?> <h4><strong> <?php echo $queried_post->post_title; ?></h4> <?php echo $queried_post->post_content; ?>[Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]
I just want to get the featured image of the same post please.
Thanks in advance!
The topic ‘Post Featured image display’ is closed to new replies.