Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_action ( 'genesis_before_header', 'sk_add_banner_image' );
- function sk_add_banner_image() {
- if ( has_post_thumbnail() ) {
- echo '<div class="banner-image">
- <div class="wrap">
- <img src="' . genesis_get_image( array( 'format' => 'url' ) ) . '" />
- </div>
- </div>';
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement