• 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

What happened to genesis_do_post_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 › What happened to genesis_do_post_image?

This topic is: not resolved

Tagged: post image

  • This topic has 5 replies, 4 voices, and was last updated 4 years, 5 months ago by stevent.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • July 15, 2020 at 10:01 am #500126
    philby
    Participant

    Try as I may, I can't get the venerable genesis_do_post_image to do anything at all in the latest Genesis Sample theme.
    Moving or disabling entry content or entry title work fine, as they used to, but remove_action( 'genesis_entry_content', 'genesis_do_post_image', 8 ); doesn't seem to do anything at all.

    Have I missed some change to do with Gutenberg?

    Thanks.

    July 15, 2020 at 4:10 pm #500131
    AnitaC
    Keymaster

    Which version of Sample are you working with? The current version?

    Does this help?


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

    July 16, 2020 at 12:07 am #500133
    philby
    Participant

    Hey Anita

    thanks a lot! Indeed the answer was to be found in the featured_image post on github, and also in a post about Genesis 3.1 Beta: the modern way of doing this is using
    remove_action( 'genesis_entry_content', 'genesis_do_singular_image', 8 );, not remove_action( 'genesis_entry_content', 'genesis_do_post_image', 8 );.

    It probably would be helpful if this was mentioned in the Genesis Code Snippets.

    July 26, 2020 at 2:11 pm #500325
    cmp
    Participant

    Greetings: I am using the altitude pro theme. I am attempting to move my feature image so it appears immediately under the main nav and can appear full screen. I've tried adding the following to functions.php but without success.

    add_action( 'genesis_before_entry', 'custom_relocate_featured_image' );
    function custom_relocate_featured_image() {

    // Remove featured image from entry content.
    remove_action( 'genesis_entry_content', 'genesis_do_singular_image', 8 );

    // Add featured image above entry header.
    add_action( 'genesis_entry_header', 'genesis_do_singular_image', 3 );
    }

    July 30, 2020 at 1:34 pm #500382
    cmp
    Participant

    Scratch prior comment. Anita's solution is perfect. Had to clear cache to see results. Thank you.

    December 30, 2020 at 2:43 am #502443
    stevent
    Participant

    Same problem here. Looks like they have replaced the syntax and abandoned genesis_do_post_image. Waisted my half hour to figure out what was wrong and the solution.

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