forked from mirror/_s
Remove link around header image.
This commit is contained in:
parent
4aa1e19a5a
commit
31a9e90437
|
@ -5,9 +5,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>
|
||||
<img src="<?php header_image(); ?>" width="<?php echo esc_attr( get_custom_header()->width ); ?>" height="<?php echo esc_attr( get_custom_header()->height ); ?>" alt="">
|
||||
<?php endif; // End header image check. ?>
|
||||
*
|
||||
* @link https://developer.wordpress.org/themes/functionality/custom-headers/
|
||||
|
|
Reference in New Issue