How to display the thumbnail of a post
-
Hi,
I have the following code displaying the content of a page:
<?php $post_id = 50; $my_post = get_post($post_id); echo "$my_post->post_content"; ?>
I would now like to display the thumbnail of that page. How do I do this?
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘How to display the thumbnail of a post’ is closed to new replies.