forked from mirror/_s
Merge pull request #1051 from samikeijonen/issue/1041
Remove link around header image: props @samikeijonen
This commit is contained in:
commit
3c7fe6f91e
|
@ -4,11 +4,7 @@
|
|||
*
|
||||
* You can add an optional custom header image to header.php like so ...
|
||||
*
|
||||
<?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="">
|
||||
</a>
|
||||
<?php endif; // End header image check. ?>
|
||||
<?php the_header_image_tag(); ?>
|
||||
*
|
||||
* @link https://developer.wordpress.org/themes/functionality/custom-headers/
|
||||
*
|
||||
|
|
Reference in New Issue