How to exclude a featured image from showing in the image gallery?

I have a site where the default theme has kind of a slider instead of a featured image option. In that slider, I add images from the site media library.

But whenever I create such image gallery, the featured image for the article is also automatically added to that image gallery/slider as the first image. And I don’t want it to be added.

Is there a way to exclude it but still be able to use the featured image as it is needed for other parts of the site?

I asked the theme support but they say it is not possible due to how WordPress works.

1 Comment
  1. What is the theme? Do you have a child theme set up? If it’s a premium theme, can you post the code for the slider?


This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer