WP Post Thumbnails

I’ve currently been using the attachment_image() function to get the first image from a post and set it as the thumbnail for the post, but I was wondering if anyone has figured out a way to automatically create a post thumbnail via the new featured image function?

Thanks!

I don’t think the featured image function is new. You just need a theme that uses it. Most themes also have an option that enables post thumbnails that you have to check. You need to set a featured image for every post in the post creation page.

Yes, I know it’s not new and I know about the themes needing it to be implemented. But, I was curious if anyone had created a custom function yet to actually “set” the featured image from an image in the post.