WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
What is the plugin that is creating those attachment "boxes"? Something called "nrelated"? – s_ha_dum Dec 26 '12 at 19:40
nrelated is what creates the related topics. I'm talking about the thumbnail of the thor girl below that. – Scott Alan Williams Dec 26 '12 at 20:50
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 Dec 26 '12 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? – Scott Alan Williams Dec 26 '12 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 Dec 26 '12 at 22:35

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.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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