• 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

2 Images posted with only 1 image added for – Generate Pro Theme

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 › 2 Images posted with only 1 image added for – Generate Pro Theme

This topic is: not resolved

Tagged: duplicate images, featured image, generate pro

  • This topic has 4 replies, 2 voices, and was last updated 8 years, 10 months ago by fryedm.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • July 6, 2016 at 10:10 am #188961
    fryedm
    Member

    There is a major problem with my Generate Pro Theme when it comes to adding a post. When I add a image to a new post, it will show two of the exact same image twice in the post. If I delete the featured image and any image in the post, the image will still show up. So there is no way to remove the image and so I end up deleting the whole post to remove it. How can I fix this problem so only one image shows up in the post?

    http://infusionvideo.com/
    July 6, 2016 at 10:34 am #188963
    Brad Dalton
    Participant

    Genesis uses the first image in the post as the featured image is non added using the featured image meta box.

    Your theme is also coded to display the featured image before the content.

    If you want to display a featured image before the content, don't add the image at the start of the post, use the featured image meta box.

    If you want to add a image in your post, don't add it to the very beginning of the editor, add it after some content.

    If you don't want to display a image before the content, remove the code from the functions file which adds it starting on line 91 of functions.php.


    Tutorials for StudioPress Themes.

    July 6, 2016 at 12:20 pm #188975
    fryedm
    Member

    Hi Braddalton! I have text before the image and it still displays a image as the featured image. If I add a featured image and delete the featured image it still shows the old featured image.

    July 6, 2016 at 12:27 pm #188976
    Brad Dalton
    Participant

    Please read and follow the last line of my reply.

    If you don't want to display a image before the content, remove the code from the functions file which adds it starting on line 91 of functions.php.

    I tested this solution and it removes the featured image regardless of whether one is added to the post or featured image box or has been added and is now removed.


    Tutorials for StudioPress Themes.

    July 6, 2016 at 1:45 pm #188979
    fryedm
    Member

    I read your section for the code but we should have the option to use the featured image by using the featured box and not have to alter the code. Sometimes I would like to use the featured image and sometimes I would like not to use the featured image.

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

© 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