• 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

Featured Image for Posts not displaying in Eleven40 Child Theme

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 › Featured Image for Posts not displaying in Eleven40 Child Theme

This topic is: not resolved

Tagged: Post featured image

  • This topic has 3 replies, 2 voices, and was last updated 9 years, 3 months ago by Giuljo.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • August 10, 2016 at 10:48 am #191070
    toolanalyst
    Member

    Tried to enable from Genesis -> Theme Settings -> Content Archive

    I also tried to insert a code I saw here on the forums to functions.php but the featured image I set for the post is not displaying on the image page (I'm trying to use the 150x150 thumbnail)

    Please help 🙁

    http://www.toolanalyst.com
    August 11, 2016 at 7:19 am #191109
    Giuljo
    Member

    I came over to the forum looking for the same information: getting the featured image to show up on the post pages.

    I know Outreach Pro suppresses them but my client wants the images so I need to know how to get them back. Would prefer not to have to switch child themes as I put in a lot of customizations already.

    August 13, 2016 at 7:00 am #191212
    Giuljo
    Member

    I found a solution for Outreach Pro which may work for the Eleven40 Child Theme.

    Add this code to the functions.php file

    // show featured images on post pages ****************************
    //* image size can be adjusted
    add_image_size( 'single-thumbnail', 680, 200, true );
    
    //* Display featured image above content on Posts
    add_action ( 'genesis_entry_content', 'sk_show_featured_image_single', 9 );
    function sk_show_featured_image_single() {
    
    	if ( is_singular('post') && has_post_thumbnail() ) {
    		echo '<div class="single-thumbnail">';
    			genesis_image( array( 'size' => 'single-thumbnail' ) );
    		echo '</div>';
    	}
    
    }

    Code for style.css

    /* Display featured image above content on Posts
    ------------------------------------------------ */
    
    .single-thumbnail {
    	margin-bottom: 20px;
    }
    
    .single-thumbnail img {
        vertical-align: top;
        float: left;
        padding-right: 15px;
        padding-bottom: 15px;
    }

    If you want the post text to start beneath the image, remove the float & the right padding.

    August 17, 2016 at 9:45 am #191454
    Giuljo
    Member

    One other note: the image styling in the code above isn't necessary. That's only needed if you want to change the way the image shows.

    Oops - I lied. Two more notes: In my theme options, the featured image box under archives was not checked. I changed that and everything now works.

  • 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

© 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