Remove link around header image.

This commit is contained in:
Sami Keijonen 2016-11-26 19:26:12 +02:00
parent 4aa1e19a5a
commit 31a9e90437
1 changed files with 1 additions and 3 deletions

View File

@ -5,9 +5,7 @@
* You can add an optional custom header image to header.php like so ... * You can add an optional custom header image to header.php like so ...
* *
<?php if ( get_header_image() ) : ?> <?php if ( get_header_image() ) : ?>
<a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"> <img src="<?php header_image(); ?>" width="<?php echo esc_attr( get_custom_header()->width ); ?>" height="<?php echo esc_attr( get_custom_header()->height ); ?>" alt="">
<img src="<?php header_image(); ?>" width="<?php echo esc_attr( get_custom_header()->width ); ?>" height="<?php echo esc_attr( get_custom_header()->height ); ?>" alt="">
</a>
<?php endif; // End header image check. ?> <?php endif; // End header image check. ?>
* *
* @link https://developer.wordpress.org/themes/functionality/custom-headers/ * @link https://developer.wordpress.org/themes/functionality/custom-headers/