• 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

Remove Featured Image from Post, Not Home Screen

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 › Remove Featured Image from Post, Not Home Screen

This topic is: not resolved
  • This topic has 10 replies, 3 voices, and was last updated 13 years, 5 months ago by AnitaC.
Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • March 7, 2013 at 12:15 pm #24811
    Brideau
    Member

    I am trying to do the same thing the guy on this page did, but for the Fabric theme: http://www.studiopress.com/support/showthread.php?t=122715

    I think the Fabric theme is built slightly different though, so I can't replicate what he had exactly. Anybody know how to do this? The site I am working on is: http://globalisationoflove.com/canada-birthplace-of-and-hotbed-for-the-globalisation-of-love/

    March 7, 2013 at 2:24 pm #24845
    Carolyn
    Participant

    I can't access your link above, but I did remove the Featured Image above the post title by commenting out

    /** Add custom field above post title */
    /**add_action('genesis_before_post_title', 'fabric_post_image', 8 );
    function fabric_post_image() {

    if ( is_page() ) return;

    if ( $image = genesis_get_image( 'format=url&size=featured' ) ) {
    printf( '<a href="%s" rel="bookmark"><img class="post-photo" src="%s" alt="%s" /></a>', get_permalink(), $image, the_title_attribute( 'echo=0' ) );
    }

    }

    In the functions file. Is that what you are looking for?

    March 7, 2013 at 2:32 pm #24846
    Brideau
    Member

    Close! Doing that removes the image from from the list of articles on the home page and the article itself. I am just looking to remove it from the article...

    March 7, 2013 at 2:35 pm #24849
    Carolyn
    Participant

    Have you set a featured image when you set up a post?

    I have the image in my post and on front page BUT NOT the big one...

    See my test site

    http://todd.carolyncreates.com

    March 8, 2013 at 8:23 am #24984
    Brideau
    Member

    Yes, I have set a featured image, but when I comment out the section mentioned above, nothing shows up on the front page. For example, on this page: http://globalisationoflove.com/canada-birthplace-of-and-hotbed-for-the-globalisation-of-love/ I have a big image in the post, and the featured image is set, but nothing is showing up on the homepage for it.

    March 10, 2013 at 2:47 pm #25337
    Carolyn
    Participant

    Hmm, not sure what to suggest.

    March 10, 2013 at 5:42 pm #25351
    AnitaC
    Keymaster

    I think if you change this:

    if ( is_page() ) return;

    to

    if ( !is_home() ) return;

    The pictures on the home page will come back.


    Need help with customization or troubleshooting? Reach out to me.

    March 10, 2013 at 7:07 pm #25363
    Brideau
    Member

    That worked perfectly, thank you!

    March 11, 2013 at 3:10 pm #25508
    Carolyn
    Participant

    Did you end up commenting out any of the functions before making that change?

    March 12, 2013 at 8:34 am #25643
    Brideau
    Member

    Hey Carolyn, nope! I just needed to make that one change. From what I can tell it prevents the rest of the function it is placed in from executing if the page isn't the home page.

    March 12, 2013 at 11:00 am #25664
    AnitaC
    Keymaster

    Glad that worked for you @brideau.


    Need help with customization or troubleshooting? Reach out to me.

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