May 13, 2016 at 1:03 pm #185585
I have tried different codes in functions.php and checked my settings a million times but I cannot get the featured image to NOT show on the page. I need it for my slider but don't want it to show on the page.
I'm using the Executive Pro theme and can't seem to figure this out. Any help would be greatly appreciated!http://www.heritagecentermf.comMay 14, 2016 at 2:02 am #185609
Link to the page in question please.
May 16, 2016 at 10:01 am #185703
every single page on the website has the featured image at the top of the page. the code snippet that Studiopress sent me doesn't work.May 16, 2016 at 10:10 am #185704
What code did you use to add it?
May 16, 2016 at 10:13 am #185706
I didn't use a code to add it... I just "set featured image" which you need to do in order for it to show up in the Genesis Slider.
I need it in order to use the front page widgets. But I don't want them to show up on the page when you click on it.
Below is the snippet they gave me to remove it from the page but it doesn't work... I did specifically say it was a page and not a post so not surprised this didn't work. I see all over the internet that this is an issue but I can't find a solid answer on how to fix it.
//* Remove the post image (requires HTML5 theme support)
remove_action( 'genesis_entry_content', 'genesis_do_post_image', 8 );May 16, 2016 at 10:27 am #185708
What page do you want to remove it from?
Did you want to remove it from all single pages or all single posts or all archive type pages?
You can use CSS or PHP code however, there is no code in Exec Pro which adds a image after the header on single posts and pages or any type of archive pages. You need to provide the code you used to add it.
May 16, 2016 at 10:32 am #185709
I want to remove it from all single pages.
I promise you I didn't use any code to add this. Thats what has made this so frustrating. All I am doing is adding a featured image via the upload tool inside of WordPress. I haven't change any coding at all. The only coding I have attempted is its removal. It's been like this since I started building this site.May 16, 2016 at 10:43 am #185710
Are you using the Genesis Simple Hooks plugin?
May 16, 2016 at 11:22 am #185713
I am not! Should I be?May 16, 2016 at 12:11 pm #185717
I see the problem but I don't know how to fix it.
when I look at he page source code I see this
div class= "site inner"
div class="egwp_featured_image" style: position relative
img src= blahblah
how do I remove that div class? I don't know why it's there and that isn't a genesis hook either.
I just tried to remove it with the genesis_before_content_sidebar_wrap hook but that's not working. I could have the coding wrong to do this but I don't think that hook will remove that divMay 16, 2016 at 1:37 pm #185725
I figured it out but I can't be the only one to have an issue so what I had to do is add this to my CSS
}May 17, 2016 at 2:19 am #185752
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.