I have the featured image set using the little box on the right hand side of the wordpress dashboard for posts/pages and the image shows up at the top of the post and then again in the post/page.
I know I can uncheck show featured image, but I want the featured image so it pulls into facebook posts.
I want to remove the image at the top. I have it on over 300 pages so I don’t want to have to change every page.
This won’t go into the core theme, as people generally want their page headers to show up.
The above code should only be used if you want the image not to show on your website, but want it used on Facebook and other social sharing websites ๐