mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-11 23:28:18 +02:00
Props laurelfulford, littlebigthing. Fixes #38927. Built from https://develop.svn.wordpress.org/trunk@39392 git-svn-id: http://core.svn.wordpress.org/trunk@39332 1a063a9b-81f0-0310-95a4-ce76da25c4cd
23 lines
405 B
PHP
23 lines
405 B
PHP
<?php
|
|
/**
|
|
* Displays header image
|
|
*
|
|
* @package WordPress
|
|
* @subpackage Twenty_Seventeen
|
|
* @since 1.0
|
|
* @version 1.0
|
|
*/
|
|
|
|
?>
|
|
<div class="custom-header">
|
|
|
|
<?php if ( has_custom_header() ) : ?>
|
|
<div class="custom-header-image">
|
|
<?php the_custom_header_markup(); ?>
|
|
</div>
|
|
<?php endif; ?>
|
|
|
|
<?php get_template_part( 'template-parts/header/site', 'branding' ); ?>
|
|
|
|
</div><!-- .custom-header -->
|