Image still attached to post even after removing it as featured image

I’m sorry if this is too noob of a question, but when I upload an image and set it as the featured image then later remove it (as featured image), the media list still shows it’s “Attached to” the post I removed it as featured image from. Any clue?

More importantly, how do I then make it so that when I remove the featured image, it will be “Unattached”? Any hook I can attach to or the like?

Read More

Thanks so much.

Related posts

Leave a Reply

1 comment

  1. Any image uploaded to a post in the post editor is “attached to” that post. Actually, you can only set an attached image as Featured Image (aka Post Thumbnail — not to be confused with “Thumbnails”), and it’s NOT vice-versa.

    If you do not want an image to be attached to a post, you can upload the image directly to the Media Library (via WordPress Dashboard > Media > Add New) and then use the image in your post (from the From URL tab in the media uploader in the post editor).