I have attached images that I have inserted into my posts but they also appear in the attachments box at the bottom of the post.

I'd like to know how to make them not appear in the attachments box if I have inserted them in the post.

example post: http://www.fanboybuzz.com/2012/12/sexy-thor-girl-cosplay-2/

I don't want the smaller thumbnail image at the bottom of the post to show up since I've inserted the image in the actual post.

Can anyone help me?

  • 1
    What is the plugin that is creating those attachment "boxes"? Something called "nrelated"?
    – s_ha_dum
    Commented Dec 26, 2012 at 19:40
  • nrelated is what creates the related topics. I'm talking about the thumbnail of the thor girl below that. Commented Dec 26, 2012 at 20:50
  • 1
    Either this is done using an Attachments plugin (like this one wordpress.org/extend/plugins/attachments) and you should look into the plugins'documentation, Or this is part of your theme file. In such case, you should manually edit the proper theme file to remove or conditionalize that function.
    – pixeline
    Commented Dec 26, 2012 at 20:58
  • Can you tell me what the conditional should look like? How do I differentiate between attached images and attached images that are inserted? Commented Dec 26, 2012 at 22:33
  • That looks like something your theme is doing. Can you post the PHP for that page? Maybe index.php, maybe single.php. Your theme doesn't use body_class so I can tell for sure.
    – s_ha_dum
    Commented Dec 26, 2012 at 22:35

1 Answer 1


A very simple workaround is: don't attach the images to the post.

Upload the images directly in the Media Library: http://example.com/wp-admin/media-new.php, go to the post and insert selecting it from "All Media", it won't be shown in the "attachments" list.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.