I have a single-posttype.php and I’m trying to figure out how to display the image
Leave a Reply
You must be logged in to post a comment.
I have a single-posttype.php and I’m trying to figure out how to display the image
You must be logged in to post a comment.
Everything you need can be found on the Codex documentation page for post thumbnails.
http://codex.wordpress.org/Post_Thumbnails
Specifically i think you’re looking for..
This code also doesn’t work? I believe you’re listing everything fine (titles, excerpts etc.) & thumbnails only doesn’t show? How do you add them? Do you see them in down right corner on edit pages?
If not change the_post_thumbnail function to:
is it showing thumbnail’s address?
There are two options:
a) you’re NOT adding thumbnails (to do so, click “Set featured image”, select/upload an image and THEN click “Use as featured image”, the image should appear in the right down corner),
b) you have no loop (use my first code on page-posttype.php to create one).
Please click the icon under the arrows on the left side if somebody helps you, your accept rate is dramatically low and many people don’t care about you.