• 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

Can't Get Rid of Feature Image

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 › Can't Get Rid of Feature Image

This topic is: not resolved

Tagged: don't show, featured image

  • This topic has 3 replies, 3 voices, and was last updated 12 years, 11 months ago by Brad Dalton.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • March 24, 2013 at 5:05 pm #30987
    kilerb
    Member

    Hi...  Not sure what I am doing wrong.  This site actually has 2 categories.  One for podcasts on the front page at http://www.lorasomoza.com and one for the blog page.  I have "Include The Featured image?" in the genesis settings unchecked, yet whenever an image is added to one of these posts, it shows above the post like a featured image.  I'd like no images to show.  How can I make that happen?

    Thanks!

     

    March 24, 2013 at 6:35 pm #31003
    marybaum
    Participant

    If I understand you right, you'd like an image to show with the post but not on the category page?

    Then I don't think I'd bother with the setting a featured image. Just insert the image into the post. Then your category pages won't have a featured image to decide to show or not.


    Sharing the good news about the wonders of modern CSS and the split-step. Either one should get you moving fast. 😀

    March 24, 2013 at 7:48 pm #31017
    kilerb
    Member

    No, I don't want any featured image at all.  I haven't set one.  When I add an image anywhere in a blog post, it shows up above the post and inside the post, as you can see at that link above.

    March 25, 2013 at 1:58 am #31063
    Brad Dalton
    Participant

    You need to remove this code from your child themes functions.php file:

    /** Add post image above post title */
    add_action( 'genesis_before_post', 'streamline_post_image' );
    function streamline_post_image() {
    
    	if ( is_page() ) return;
    
    	if ( $image = genesis_get_image( 'format=url&size=post-image' ) ) {
    		printf( '<a href="%s" rel="bookmark"><img class="post-photo" src="%s" alt="%s" /></a>', get_permalink(), $image, the_title_attribute( 'echo=0' ) );
    	}
    

    Tutorials for StudioPress Themes.

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 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

© 2026 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