• 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 in Minimum

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 › Remove Featured Image in Minimum

This topic is: not resolved
  • This topic has 1 reply, 2 voices, and was last updated 9 years, 6 months ago by David Chu.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • July 29, 2013 at 7:58 am #53062
    dynamic
    Participant

    Team

    How do I remove the featured image /sample.jpg in Minimum theme so that its not there at all. If I delete the sample.jpg all is good in firefox but I get a black cross in ie10

    At the moment I have a 1 x 1 px sample.jpg but I'd rathe rnot have it

    http://www.smartguestrewards.com/

    Thanks

    http://www.smartguestrewards.com/
    July 29, 2013 at 5:43 pm #53126
    David Chu
    Participant

    Hi,
    That is a slightly weird setup that Minimum has, as much as I do like it. So many goodies in the functions.php, much of it great, but I'm not crazy about that auto-image there either.

    If you're comfortable editing PHP code, here's a way to get that out. Appearance... Editor, and click on Theme Functions over on the right. Scroll down to the part that says "Add the featured image section". Take a look at the following lines. If you comment out the line that begins with echo, the giant default image will disappear. I illustrate that below:

    Before:

    	if ( is_home() ) {
    		echo '&lt;div id=&quot;featured-image&quot;&gt;<img />&lt;/div&gt;';
    	}
    

    After commenting:

    	if ( is_home() ) {
    		// echo '&lt;div id=&quot;featured-image&quot;&gt;<img />&lt;/div&gt;';
    	}
    

    Cheers, Dave


    Dave Chu ยท Custom WordPress Developer – likes collaborating with Designers

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘General Discussion’ 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

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