Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- //* Do NOT include the opening php tag
- //* Display featured image after single entry header.
- add_action( 'genesis_entry_header', 'featured_post_image', 15 );
- function featured_post_image() {
- if ( ! is_singular( 'post' ) ) return;
- the_post_thumbnail('large');
- }
Add Comment
Please, Sign In to add comment