This topic is: not resolved
- This topic has 21 replies, 5 voices, and was last updated 7 years, 8 months ago by .
- The forum ‘Design Tips and Tricks’ is closed to new topics and 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.
Community Forums › Forums › Archived Forums › Design Tips and Tricks › Featured Video in Teasers
Tagged: featured videos
Thanks Brad,
Do you know of any reason why I should perhaps not use this code?:
//* Code to Display Featured Image (and therefore featured video embed)
add_action( 'genesis_before_entry_content', 'featured_post_image', 8 );
function featured_post_image() {
if ( is_singular( 'archive' ) ) return;
the_post_thumbnail('post-image');
}
So far it is both the least amount of code and results in the best outcome for my purposes 🙂
Here's the latest from the plugin dev https://wordpress.org/support/topic/works-with-genesis?replies=2#post-8664939
© 2024 WPEngine, Inc.