- This topic has 2 replies, 2 voices, and was last updated 3 years, 5 months ago by .
- The topic ‘Re-position featured image in Genesis Sample’ is closed to new replies.
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.
Since the release of Genesis Framework 3.1, you can enable featured image output on posts and pages (with proper theme support).
When enabled, the default position for the featured image is below the post/page title and entry meta, like so in Genesis Sample theme:
I would prefer to have the featured image located before the post/page title (genesis_before_entry?).
If possible, how would I accomplish this?
Thanks very much.
Genesis Framework: 3.3.0
Genesis Sample: 3.1.0
Host: WP Engine
Add this to the child theme's functions.php:
remove_action( 'genesis_entry_content', 'genesis_do_singular_image', 8 ); add_action( 'genesis_entry_header', 'genesis_do_singular_image', 9 );
Perfect. Thank you Victor. Much appreciated.
© 2023 WPEngine, Inc.