• 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

Metro Pro – move featured images below post titles

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 › Metro Pro – move featured images below post titles

This topic is: not resolved

Tagged: featured images, Metro Pro

  • This topic has 7 replies, 6 voices, and was last updated 11 years, 4 months ago by exelexys.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • September 7, 2013 at 2:03 pm #61251
    ameeker
    Member

    I can't figure out how to remove the action that's putting the featured images above the post titles on the home page. I tried,

    remove_action( 'genesis_before_post_content', 'generate_post_image', 5 );
    add_action( 'genesis_post_content', 'genesis_do_post_image' );

    but that didn't do anything.

    Thoughts?


    Looking for Genesis website design backed by strategy? http://www.angiemeekerdesigns.com

    September 7, 2013 at 3:52 pm #61259
    Robin
    Member

    My recommendation would be to install the Genesis Featured Widget Amplified--it gives you more control over those widget areas, including the placement of the featured image relative to the title. HTH


    I do the best I can with what I’ve got. (say hey on twitter)

    September 7, 2013 at 4:04 pm #61267
    ameeker
    Member

    Sounds good to me.


    Looking for Genesis website design backed by strategy? http://www.angiemeekerdesigns.com

    September 7, 2013 at 4:24 pm #61275
    ameeker
    Member

    So I found where it is - it's in the featured-post-widget.php in the genesis lib includes. So I can change it there, but that's not the right way to do it... because then any upgrades to genesis would overwrite it. But I want to use the built in Featured Posts instead of the plugin you mentioned.

    Hmmm... Can I just pull a copy of that file into my child theme?


    Looking for Genesis website design backed by strategy? http://www.angiemeekerdesigns.com

    September 8, 2013 at 12:39 pm #61377
    David Chu
    Participant

    Hi,
    That's an interesting question, so I did a quick test. Just putting that file into the child theme didn't "activate" it. I looked further, and found the following line which activates the core file:

    require_once( GENESIS_WIDGETS_DIR . '/featured-post-widget.php' );
    

    So I would say just do a similar include, but point it to the one in the child theme, BUT.... then you get an error because you're trying to "redeclare" the class! So this isn't as simple as it might be. One could maybe rename the class, possibly use a new widget, etc., but that's getting into pretty muddy water, and would take some research.

    So if it were me, I'd probably just make myself a custom home loop to do that, or try another plugin. So not a conclusive answer, but I hope it helps a bit.

    Dave


    Dave Chu · Custom WordPress Developer – likes collaborating with Designers

    September 8, 2013 at 3:11 pm #61391
    Tom
    Participant

    I think you can achieve what you want with CSS. This worked for me from the Element Inspector in Chrome:

    This removes top-placed featured images, leaves left aligned images:

    .alignnone img, img.alignnone {
    display: none;
    }

    This removes all featured images:

    .featured-content img, .gallery img {
    display: none;
    }

    On the right track?


    Choose your next site design from over 350 Genesis themes.
    [ Follow me: Twitter ] [ Follow Themes: Twitter ] [ My Favourite Webhost ]

    September 8, 2013 at 5:23 pm #61414
    nunotmp
    Member

    If you are using html5 the hooks have changed. You will need to use
    remove_action( 'genesis_entry_header' , 'genesis_do_post_image', 8 ); and then reapply with a lower lower/higher priority. Something like add_action( 'genesis_entry_header', 'genesis_do_post_image', 5 );

    If you are using xhtml then you will need to do this.

    remove_action( 'genesis_post_content', 'genesis_do_post_image' );
    add_action( 'genesis_before_post_title', 'genesis_do_post_image' );

    Now you can place this in your home.php file or adding a conditional statement in your functions.php file. like so

    if ( is_home() ) {
    // add actions here
    }

    Genesis Child Themes – Follow Me

    February 26, 2014 at 10:59 pm #92599
    exelexys
    Member

    Probably way too late to benefit the original poster, but perhaps someone else will find these instructions for modifying the featured posts widget (in isolation from genesis core) useful:
    http://petercoughlin.com/tweaking-the-genesis-featured-posts-widget/

  • 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

© 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