Title: Small change in code
Last modified: August 21, 2016

---

# Small change in code

 *  [Yannis2810](https://wordpress.org/support/users/yannis2810/)
 * (@yannis2810)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/small-change-in-code/)
 * Hi and thanks for this very useful plugin. I have used it together with the Responsive
   Pro theme ([http://cyberchimps.com/store/responsivepro/](http://cyberchimps.com/store/responsivepro/)).
   
   I encountered a small problem: I have set the site’s homepage to a static page.
   After the installation of your plugin, a featured image was set for this page,
   which showed in the beginning of the page. I removed the featured image a few
   times, but it kept returning every time.
 * Then I modified the code of the plugin a bit, and the problem was gone. Your 
   original code is:
    `if (!$already_has_thumb)` I changed it to: `if (!$already_has_thumb&&
   is_single())`
 * Perhaps you would like to add this to your code, so other users won’t have the
   same problem.
 * Regards,
    Yannis
 * [http://wordpress.org/plugins/easy-add-thumbnail/](http://wordpress.org/plugins/easy-add-thumbnail/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Samuel Aguilera](https://wordpress.org/support/users/samuelaguilera/)
 * (@samuelaguilera)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/small-change-in-code/#post-4251092)
 * This is not a plugin problem, it’s a problem of your installation and the use
   you want to do of it.
 * So I’m sorry but that modification will not merge into the plugin.
 * By the way, if you only want to leave that unique page withour thumb, your better
   modify your theme and not the plugin.

Viewing 1 replies (of 1 total)

The topic ‘Small change in code’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/easy-add-thumbnail.svg)
 * [Easy Add Thumbnail](https://wordpress.org/plugins/easy-add-thumbnail/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/easy-add-thumbnail/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/easy-add-thumbnail/)
 * [Active Topics](https://wordpress.org/support/plugin/easy-add-thumbnail/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/easy-add-thumbnail/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/easy-add-thumbnail/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Samuel Aguilera](https://wordpress.org/support/users/samuelaguilera/)
 * Last activity: [12 years, 5 months ago](https://wordpress.org/support/topic/small-change-in-code/#post-4251092)
 * Status: not a support question