Use first imagein post for thumbnail
Anyone know of a tutorial or code snippet on how I can use the first post image for a thumbnail when using excerpts? If there is no image it will just not display an image and not use a default thumbnail if there isn’t? With the ability to resize the image in the excerpt.
I know how to use the featured image as a thumbnail, but sometimes I want the featured image displayed in the post and I need to post it twice to show both.
I’ve searched Google and these forums for a couple hours, tried 10-15 tutorials on how to do this and haven’t found one that works the way I want.
This was as close as I could find to what I needed, but also the only one I couldn’t get to work. http://wordpressapi.com/2010/02/01/image-thumbnail-wordpress-post-wordpress/
- The topic ‘Use first imagein post for thumbnail’ is closed to new replies.