Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php $header_image = get_header_image();
- if ( ! empty( $header_image ) ) : ?>
- <a href="<?php echo esc_url( home_url( '/' ) ); ?>"><img src="<?php echo esc_url( $header_image ); ?>" class="header-image" width="<?php echo get_custom_header()->width; ?>" height="<?php echo get_custom_header()->height; ?>" alt="" /></a>
- <?php endif; ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement