Small change in code
-
Hi and thanks for this very useful plugin. I have used it together with the Responsive Pro theme (https://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
- The topic ‘Small change in code’ is closed to new replies.