Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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
1  
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
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 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

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.

share|improve this answer

Your Answer

 
discard

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.