• 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

Damn Image Duplicating Won't Stop!?

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 › Damn Image Duplicating Won't Stop!?

This topic is: resolved

Tagged: streamline

  • This topic has 6 replies, 3 voices, and was last updated 11 years, 3 months ago by Summer.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • January 28, 2014 at 11:35 pm #87617
    Anthony Galli
    Member

    When I insert an image into streamline "in-post" it also shows up "above the title." How can I prevent this duplicating? I don't want to completely get rid of the functionality of "above the title" pictures. In some blog posts I would like to include an "in-post" image and in other blog posts I would like to just have an "above the title" image (but please stop the duplicating). Ya feel me?

    For some reason this seems like a surprisingly difficult problem to solve and I would be eternally grateful if you could help me. Thanks!

    Here's an example of the problem from one of my posts:
    http://www.anthonygalli.com/2014/01/11/5-steps-on-how-to-create-a-mac-vision-board/


    I blog about great adventures, good habits, and quantified success! Join me on the open road @ http://www.AnthonyGalli.com

    http://AnthonyGalli.com
    January 29, 2014 at 8:15 am #87667
    David Chu
    Participant

    Hi,
    I don't have Streamline, but some Studiopress themes have slightly tricky Featured Image setups. For instance, on some themes, if you set up a Featured Image, that would go at the top of the Post, and then other images put in the Post content would appear in the Post without duplicating. Not sure on this one, though. Official support may shed some light on that.

    You could try just using a Featured Image on your Post, and not put it in content.

    Dave


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

    January 29, 2014 at 11:07 am #87701
    Summer
    Member

    Anthony, are you saying that none of the options from your previous thread worked: http://www.studiopress.community/topic/remove-featured-image/

    Which version of Streamline are you running? And what version of Genesis?


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

    January 29, 2014 at 1:49 pm #87719
    Anthony Galli
    Member

    I tried both codes multiple times in multiple places. I went into the child theme, theme functions, and copy and pasted the code to the bottom of the text:

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

    The "in-post" image still duplicates "above the title" as shown in my post: http://www.anthonygalli.com/2014/01/11/5-steps-on-how-to-create-a-mac-vision-board/


    I blog about great adventures, good habits, and quantified success! Join me on the open road @ http://www.AnthonyGalli.com

    January 29, 2014 at 2:11 pm #87721
    Summer
    Member

    And you're using Genesis 2.0, and you also added the "add_filter" to call that function?

    Make sure you have this:

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

    in your functions, exactly as above... it's what I put at the end of the last thread you started but you didn't use my code mod.

    That will call the function, and remove the fallback feature, no matter what post display you're using.


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

    January 29, 2014 at 5:35 pm #87747
    Anthony Galli
    Member

    Thank you so much Summer for your patience!

    I used the last code you just posted and it worked! I don't know what went wrong. I was copying and pasting a variety of codes so I guess I overlooked this one. Thanks again. You the best!

    I always did like Summer


    I blog about great adventures, good habits, and quantified success! Join me on the open road @ http://www.AnthonyGalli.com

    January 29, 2014 at 6:42 pm #87753
    Summer
    Member

    You're welcome! I know how easy it can be to get cross-eyed after staring at the same chunk of code over and over again for days, LOL


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

  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Damn Image Duplicating Won't Stop!?’ 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

© 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