Okay, I had the same problem and just solved it by adding an “exclude” field to the shortcode. Like so…
You have to just pull the ID number of the file you don’t want to show. This works without adding any functions or edits to the theme.
Related Posts:
- Cropped featured image replaces original image in gallery
- Displaying a featured image (only img url) as the img src?
- How to display original unmodified thumbnail
- How do I display the featured image from an image gallery using a reference in code? (example within)
- attach several images to post + gallery
- How to change Gallery image url in product page ? In function.php?
- Getting top Image From the Gallery and printing out a thumbnail with Exact Dimensions
- How to automatically add rounded corners to thumbnails?
- How to change image type for specific size?
- get_post_gallery with Gutenberg
- Navigate with keyboard in Gallery shortcode
- Remove title attribute from images
- Insert an image into a post by API
- How to limit number of images being printer out in “Set Featured Image” pop up?
- Bulk edit wordpress images alt and title attributes
- How do you modify the HTML output of a Gallery item (using the gallery shortcode)?
- Black and White thumbnails
- How to include externally hosted images into a gallery block
- Use Media Library to manage galleries like Nextgen (with folders, albums, collections, tags, categories, terms…)
- Double thumbnails?
- How can I make all gallery images to open in a new window?
- No srcset for hard-cropped thumbnails
- Download button for Featured Image in every post – automatically
- Removing Title Tag from Thumbnails
- Editing built in Gallery shortcode to filter by categories
- Get original image from thumbnail URL
- Gallery images stored elsewhere (preferably Google Drive)
- WordPress gallery previous/next buttons showing all media library images
- Any way to “combine” galleries or show multiple galleries as one?
- attach unattached featured images to respective posts
- WordPress reduces the full size image and uses it as the original
- Thumbnails are bigger in size than the original image
- Remove image classes from post thumbnail output
- Special purpose photos with each post
- SVG Featured image not shown in twitter
- Set Post Image Using Shortcode
- Print specific image size in galley loop
- WordPress crops images differently on retina screens?
- WooCommerce-like featured gallery
- Override img class in gallery
- Pull Random Attachments With Pagination
- Extracting gallery images in WordPress 3.5 on index.php
- How to use photo in multiple posts?
- Exclude images from “inserted into post” when trying to get attachments
- Is this post using WordPress Gallery?
- Turn off image captions in gallery view?
- Unyson Framework doesn’t show gallery images
- How can I add a “data-pin-nopin” the featured image html?
- how to link post-thumbnail to original img in a lightbox?
- Images stopped loadding after adding SSl
- Setup Featured image on all posts from thesis thesis_post_image custom field?
- How can I display an image description, from an image gallery?
- Gallery with thumbnail carousel
- Ways to show multiple, separate galleries per post?
- Generate images to be associated for tag and category?
- Bulk-add featured images in posts with no featured image
- How to get the Gallery form/section just like in Gutenberg block?
- Should I not compress my jpeg files before uploading to avoid double compression?
- Media gallery images url instead of ID on WP API Response
- Is it possible to preserve original images in order to change image size later?
- Generating a certain sized thumbnail on the fly?
- How do you import images from a URL in your post?
- Get all image IDs from the Media Library
- Allow users to contribute images to a post
- add_image_size function not working
- Why doesn’t WordPress use the smaller sized image?
- What sense makes medium_large_size_h => 0?
- How do I link a featured photo to it’s post?
- Is it possible to enable the ‘Link To’ field under ‘Attachment Display Settings’ for a Featured Image?
- Use default image as var
- Placing a featured image into header
- How to add thumbnails to posts and pages automatically in a uniformed fixed elegant way?
- limit number of images shown from gallery
- What is the plugin to import image from URL?
- Excluding post thumbnail from the attachment.php when using wordpress gallery
- photo gallery implementation like tmz
- Using different size thumbnails on different parts of my site… with functions.php?
- How to enlarge thumbnail on mouseover?
- get_post_gallery with Gutenberg
- Implementing a modal(lightbox) for all images in all post-gallery posts
- how automatically show the image title before the image caption/description in a wordpress gallery?
- change the h3 subtitles of the wordpress gallery shortcode
- How to echo images Urls from a wordpress post, that are relally in the post
- Force WordPress to always generate a thumbnail for original image
- Get post thumbnail in specific size
- get_post_gallery with Gutenberg
- How to set a post featured image from an already made custom field
- featured image in custom poste type (backend)
- stop wordpress from resizing feature gif images
- Declare global variable that can be used on other function
- How do i replace the title attribute of img tag with the image caption
- attachment.php & flexslider—linking thumbnail to specific image
- Breadcrumbs for Single Image page
- Black and White Thumbnail in WordPress Gallery
- Multiple gallery thumnbnails on one page
- Slider do not add alt attribute. Cant get alt attribute from a media library!
- wp_get_attachment_link() add rel attribute if the link points to direct image
- Paginate Gallery [closed]
- *box for images displayed as a post’s [gallery] [duplicate]
- Edit multiple posts featured image