• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Hide Featured image on all Pages

Welcome!

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.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Hide Featured image on all Pages

This topic is: not resolved

Tagged: executive pro, featured image

  • This topic has 11 replies, 2 voices, and was last updated 9 years ago by Brad Dalton.
Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • May 13, 2016 at 1:03 pm #185585
    megfizer
    Member

    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.com
    May 14, 2016 at 2:02 am #185609
    Brad Dalton
    Participant

    Link to the page in question please.


    Tutorials for StudioPress Themes.

    May 16, 2016 at 10:01 am #185703
    megfizer
    Member

    http://www.heritagecentermf.com/our-services/

    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
    Brad Dalton
    Participant

    What code did you use to add it?


    Tutorials for StudioPress Themes.

    May 16, 2016 at 10:13 am #185706
    megfizer
    Member

    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
    Brad Dalton
    Participant

    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.


    Tutorials for StudioPress Themes.

    May 16, 2016 at 10:32 am #185709
    megfizer
    Member

    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
    Brad Dalton
    Participant

    Are you using the Genesis Simple Hooks plugin?


    Tutorials for StudioPress Themes.

    May 16, 2016 at 11:22 am #185713
    megfizer
    Member

    I am not! Should I be?

    May 16, 2016 at 12:11 pm #185717
    megfizer
    Member

    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"
    ::before
    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 div

    May 16, 2016 at 1:37 pm #185725
    megfizer
    Member

    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

    }

    .egwp_featured_image {
    display: none;
    }

    May 17, 2016 at 2:19 am #185752
    Brad Dalton
    Participant

    You must be using something to add the featured image as its not added via the default theme.


    Tutorials for StudioPress Themes.

  • Author
    Posts
Viewing 12 posts - 1 through 12 (of 12 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble