Title: Temporary fix
Last modified: May 9, 2017

---

# Temporary fix

 *  [jhnchristopher](https://wordpress.org/support/users/jhnchristopher/)
 * (@jhnchristopher)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/temporary-fix-2/)
 * Here’s a temporary fix I use to hide header images on single pages but not on
   the homepage (when you agregate many pages). Add this on line `110` in `index.
   php` in the plugin directory:
 * `.single-featured-image-header { display: none !important; }`
 * just below that line:
 *     ```
       if( $hide ){ ?>
         <style>
           .has-post-thumbnail img.wp-post-image{ display: none !important; }
       ```
   
 * in the `sh_featured_image` function.
    -  This topic was modified 9 years, 1 month ago by [jhnchristopher](https://wordpress.org/support/users/jhnchristopher/).

The topic ‘Temporary fix’ is closed to new replies.

 * ![](https://ps.w.org/hide-featured-image/assets/icon-256x256.png?rev=1882740)
 * [Hide Featured Image](https://wordpress.org/plugins/hide-featured-image/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/hide-featured-image/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/hide-featured-image/)
 * [Active Topics](https://wordpress.org/support/plugin/hide-featured-image/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/hide-featured-image/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/hide-featured-image/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [jhnchristopher](https://wordpress.org/support/users/jhnchristopher/)
 * Last activity: [9 years, 1 month ago](https://wordpress.org/support/topic/temporary-fix-2/)
 * Status: not a support question