• 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

Suppress featured image on single posts, Streamline Pro

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 › General Discussion › Suppress featured image on single posts, Streamline Pro

This topic is: resolved

Tagged: streamline pro, suppress featured image on single posts

  • This topic has 4 replies, 2 voices, and was last updated 10 years, 4 months ago by ACEkin.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • December 19, 2015 at 10:03 pm #174368
    ACEkin
    Participant

    Is it possible to suppress the featured image on single post displays? Currently, if there is a featured image that is displayed above the post head. If that happens to come from the single image in the post without a feature image being specified, it repeats the inserted image. In either case, it would be great if there were an option to display the featured image only on post streams, like the home page or archives, and avoid showing them when a post is viewed by itself.

    Cemal

    http://www.psri.us/
    December 19, 2015 at 11:02 pm #174370
    Brad Dalton
    Participant

    To clarify, what you want is to remove the featured image from single posts?

    To do this, find the code in your functions file which adds it and remove that code.

    In your theme, thats the code between lines 100 - 110.


    Tutorials for StudioPress Themes.

    December 20, 2015 at 7:59 am #174392
    ACEkin
    Participant

    Thank you Brad, removing that function eliminates the featured images on the home pas as well. I want to keep those but suppress the featured image when a single post is displayed. To make sure I am talking about the same thing, the function I commented out begins with the comment line on line 99
    //* Add post image above post title

    Was that the function you meant?

    Thank you for your guidance and assistance,

    For the StudioPress team, may I suggest this as a configuration option in the Theme Settings window?

    Cemal

    December 20, 2015 at 8:09 am #174394
    Brad Dalton
    Participant

    Put the code back and use a conditional tag.

    ! is_singular('post')
    

    Tutorials for StudioPress Themes.

    December 20, 2015 at 1:55 pm #174414
    ACEkin
    Participant

    Brad, I figured out a solution using CSS. I added the following to the custom CSS file and the problem is fixed:

    .single .post-photo {display: none;}

    With that in the CSS the featured image does not show up on the single post pages. I should have studied the class structure differences between the home and single post pages earlier.

    Much simpler and less dangerous than editing the functions.php file.

    I do appreciate your chiming in and guiding me along the way.

    My suggestion to make this a configuration option still remains.

    Cemal

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Suppress featured image on single posts, Streamline Pro’ is closed to new 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