Warning: mkdir(): Permission denied in /home/u311274945/public_html/wp-content/themes/ta-portfolio/redux/inc/class.redux_filesystem.php on line 131
Hide Featured Image on Single Post – Pranav Shah
Skip to content

Hide Featured Image on Single Post

Share This:

 

Update: Thanks all for using this plugin and I am happy that its useful to many. As this plugin is made for general sites, it might need site specific customization for your site. Please email me if you require any customization.

Ver 1.1: Now you can hide all posts at once. Also one can hide featured images from Page.

To hide featured image from single post or page
  • Open the post/page in edit mode.
  • Select the option(YES/NO) to hide featured image and update.
To hide featured image on all single posts
  • Go to ‘Hide featured image’ setting page ( Settings > Hide Featured Image).
  • Select the option(YES/NO) to hide featured image for all posts or pages.
  • Click Submit.

 

While I was developing the blog page of this site, I found that the featured image which I was using was quite large as per theme design.On Archive page and Homepage it was looking fine but on single post page it was occupying half of the screen making reader to scroll down to exactly know what the content is all about.

So I thought to hide the image using CSS in my theme. But again, this would be for all single pages and what if I will need featured image for certain posts?

Finally a thought came in my mind to develop a simple functionality which has setting i.e check-box on each post stating whether to show featured image or hide. I converted this functionality into plugin so that everybody can use this. It is very useful plugin for customers/users who don’t have knowledge of Programing or has minimal understanding about WordPress.

Below is the download link for the plugin:
Hide Featured Image

 

How To Install

  1. Direct Method:
    • Go to plugins section from your WordPress backend and click “Add New”.
    • Search “Hide Featured Image” in search box.
    • Install the plugin found and Activate.
  2. Uploading Zip File
    • Download hide-featured-image.zip to your system.
    • Go to plugins section from your WordPress backend and click “Add New”.
    • Click on “Upload Plugin” button on top.
    • Upload the downloaded zip file and Activate.

Direct Method

How To Use

 

  • Install & Activate the Plugin.
  • Go to the Post for which you want to hide the featured image.
  • Open it in edit mode.
  • You will find “Show or Hide Featured image” metabox on right sidebar.
  • Select the option and Update/Publish.

featured image setting

  • Featured Image for that post will get hide on single page.

 

 

38 thoughts on “Hide Featured Image on Single Post

    1. GEN1THREE

      Depending on your theme, and/or WP version, you might have to edit the STYLE code no the plugin. I had the same issue, so I changed”:

      This: .has-post-thumbnail img.wp-post-image{ display: none; }
      To this: .zn_post_image { display: none; }

      it worked flawlessly.

      1. Bob

        I tried your fix and it did not fix the problem. Featured image is still displaying on the post page.

        Here’s the code I changed:

        /* .has-post-thumbnail img.wp-post-image{ display: none; } */
        .zn_post_image { display: none; }

        Any idea why the plugin is showing the featured post?
        I am using the Woo Canvas theme and wordpress 4.3.2

        Thanks.

        1. Pranav

          Hi Bob,
          Above mentioned fix is not general fix, its specific for Gen1three’s site.

          Can you please share your post link, so that I can provide you the fix.

          Mostly very soon, I will release new version of plugin, which will work for all the themes, irrespective of their html structure.

          Thanks
          Pranav

          1. Ben

            Hello! I’m having the same problem. I think you are still working on the most recent version of your plugin to be more compatiable with the latest version of WordPress. Any luck??

            Here is my website — please help me if you can; I’ve tried just about everything to remove featured images 🙁 🙁 Or if you can’t help … hopefully your new version is coming out soon 🙂

            http://www.DethroneTheBanksters.com

    1. Pranav

      Hi Olaf,

      In next release would try to support page also. Can you just explain in which scenario you want this feature on page also. Any example would help to understand the problem and target it appropriately.

      Thanks

      1. Katie

        Pranav,

        I scenario I would like this feature on pages for is this: I want to make a page with several images and/or content and want a different image to be the featured image for the purpose of sharing it to Facebook but I don’t want it to be visible on the page. For example, our police department could create a page with whatever content they want, and then set the featured image as their badge logo so when they share it on their Facebook page, the image is of the badge logo, instead of a random image on the page. Does that make sense? Also, will your next update include the newest versions of wp?

      1. Pranav

        Hey Erik,
        This plugin only hides image on single page/post. Because most themes do not require to hide image on blog/archive page. To hide image for blog page, customization/Pro version is required as per your website. Kindly contact me if you require PRO version.

        Thanks

  1. Bolanu Andrei

    Hi Pranav,
    First of all, thanks for your work.
    Secondly, I have installed the plugin but even if I check to hide from all posts and images, it does not work.
    My theme is ephoto from elegant themes, http://www.elegantthemes.com/demo/?theme=ePhoto
    My wordpress version is 4.5
    My example post where the featured image should be hidden : http://www.memorialulrevolutiei.ro/sitenou/2016/04/18/procesul-de-la-timisoara/

    Thanks a lot for any hint.
    Andrei

  2. irep

    Hello. I would love your plugin if it worked fine for my site. 😉 Could you help me making it compatible with my config? Thank you.
    My site is not always public, but it is here: https://www. quatremille.be The theme is Divi from elegantthemes WordPress is 4.4.2 +WP Rocket installed but emptied for tests purpose.
    I have seen an interesting topic here to include the same function as your plugin, but I am really not sure how to make it work: http://stackoverflow.com/questions/13596629/how-to-hide-featured-image-from-some-posts

  3. Luna

    HI,

    First I would really thank you for this plugin. It is practical and saves time.
    I have one problem and I would be very happy if you would help me with it.

    I am using the “Related posts” plugins (https://wordpress.org/plugins/wordpress-23-related-posts-plugin/) which uses the thumbnail of each relatied post as an image, and it seems like you plugin hides this image as well.

    U can take a look here for example http://happy-pillz.com , in the botom section “vous aimerez peut être”. This is what I get when I have your plugin activated.

    I thank you in advance for your help.

    Best regards,
    Luna

  4. Imaqination

    Hello, I cannot seem to hide featured images on my single posts. I clicked “No” for “Hide from all Posts(not Custom Post Type)?” and “Yes” for “Hide from all Pages?”. I have also tried to go into individual post editors and try out both the Yes and No button, but nothing seemed to work. Is there a solution to this?

    Imaqination.co

    1. Pranav

      Hello Freedom,

      I checked your site and found that there is no selector present which this plugin uses in your theme. So this plugin is not compatible with your theme. Will require customization specific to your site. Kindly email me for more details.

      Thanks

  5. Alessandro

    Hi!
    Thanks for your plugin. It is very useful in most situations. 🙂
    Congrats!
    Just a question: don’t you find strange to read a sentence like “Show or hide feat. image” – which is NOT a question – and two options like “yes or no”? Those latter should be picked as an answer to a question like “Do you want to HIDE featured image” > “yes” – “no”
    What do you think about?
    I think you should change your sentence OR change the options to choose in “hide” or “leave it visible”
    I’d like to receive your feedback about.
    Thanks! 🙂

Leave a Comment

Your email address will not be published. Required fields are marked *

*
*