• 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

Turn off Featured 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 › General Discussion › Turn off Featured Image

This topic is: not resolved

Tagged: featured image, workstation pro

  • This topic has 7 replies, 3 voices, and was last updated 7 years, 5 months ago by Summer.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • October 26, 2015 at 10:59 am #169072
    di
    Participant

    I'm using Workstation Pro. Is there a way to turn off the default featured image? I'd like to insert images into my post, at any point in text (not necessarily at the beginning). Right now, when I insert one, I get a duplicate: a featured image and an image in the post. I don't want the featured image. Ever.

    October 26, 2015 at 11:19 am #169076
    di
    Participant

    I've found how to turn off the featured image by going into Genesis (left menu) / Theme Settings / Content Archives / and deselecting Include Featured Image.

    Now, my next question. Is it possible to include a Featured Image for some posts but not others?

    Thanks!

    October 26, 2015 at 11:31 am #169082
    carasmo
    Participant

    Well, the easiest way I can think of is not to load a featured image on the posts you don't want one on and leave on "Include Featured Image" in the Theme Settings.


    Genesis Theme Customization and Help

    October 26, 2015 at 11:49 am #169084
    di
    Participant

    How do you not load a featured image? How do you load an image to the post without it being featured? Obviously, I'm not completely clear on what a featured image is, other than it appears above the entry-title:-)

    October 26, 2015 at 11:59 am #169086
    carasmo
    Participant

    You can load a non-featured image via the "Add Media" button just above the editor and align it left, right, center or none.

    Screen shot 1

    Don't use this:
    Screen Shot 2


    Genesis Theme Customization and Help

    October 26, 2015 at 12:58 pm #169098
    di
    Participant

    When I do this, it automatically adds it as a feature image as well. It does this unless I turn off the Include Feature Image.

    October 26, 2015 at 1:01 pm #169099
    carasmo
    Participant

    Ahh, my theme doesn't do that. Have you investigated the theme support through Studio Press? This is the community forum, there might be a setting or something that makes it very easy for you.


    Genesis Theme Customization and Help

    October 27, 2015 at 12:10 am #169168
    Summer
    Member

    All Genesis child themes will use the first post image it finds as the featured image if no featured image is set. Fortunately, there is a way to turn this off as of Genesis 2.0.

    Add this to your functions.php to remove the post image fallback from the archives:

    add_filter( 'genesis_get_image_default_args', 'genesis_disable_featured_image_fallback' );
    function genesis_disable_featured_image_fallback( $args ) {
    	if ( ! isset( $args['context'] ) || 'archive' !== $args['context'] )
    		return $args;
    	$args['fallback'] = false;
    	return $args;
    }

    or if you want to go all in and remove all image fallback behaviors, use this version (it's what I use, the full hammer):

    add_filter( 'genesis_get_image_default_args', 'genesis_disable_featured_image_fallback' );
    function genesis_disable_featured_image_fallback( $args ) {
    	$args['fallback'] = false;
    	return $args;
    }

    Should work just fine... I just included the full hammer snippet on a new Streamline Pro setup.


    WordPress / Genesis Site Design & Troubleshooting: A Touch of Summer | @SummerWebDesign
    Slice of SciFi | Writers, After Dark

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