en WordPress.com Forums › Staff Answers How to exclude images from a gallery? Author Posts August 31, 2011 at 12:15 am #693999 tovianMember I would like to exclude some images from my gallery that i have already uploaded to the same page. I don’t know how to use shortcode. Thanks Blog url: http://tovian.wordpress.com/ August 31, 2011 at 4:01 pm #694262 kardotimMember Please carefully review the instructions in this guide. Example Gallery Shortcode that excludes an image: [gallery exclude=”24,30,43″"] To get an attachment ID for an image, go to your Media Library and hover over the image title you want to exclude. You can find the ID in the URL (the number after attachment_id=). Author Posts The topic ‘How to exclude images from a gallery?’ is closed to new replies.