- This topic has 2 replies, 2 voices, and was last updated 9 years, 9 months ago by .
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.
These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.
I'm having a strange thing happen on my pages where even though I have no featured image set it is giving me
one above the page content. Doesn't matter if I delete everything on the page, the featured image is still showing up.
Only happening on static pages not on the blog.
I had the code snippet for adding featured images in my functions file. I deleted it thinking that would stop this problem but it is still happening. I'm on Chrome using the latest Mac OS. I still see the featured image on mobile and my PC as well.
Any ideas? Thanks!http://directionsnotincluded.com/about-us
I would try double-checking your functions.php file.
Seems like you must have code hooked into the genesis_entry_header hook that is adding in a featured image just below title of the page.
If not, please provide more details/information.
I am a web developer
Thanks, Eric. Found it! It was actually in a plugin I was using called Genesis Simple Hooks. Any idea on how to get it to execute on blog posts only and not on static pages? I'll dig around.
This is what was there.
<?php genesis_image( array( ‘size’ => ‘top’ ) ); ?>
Thanks so much!
© 2023 WPEngine, Inc.