mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-11 23:28:18 +02:00
* Use `postMessage` transport for header image settings by default when video headers are supported, and thus `the_custom_header_markup()` will necessarily be used (and thus a selective refresh partial will be available). * Ensure that `the_custom_header_markup()` always outputs a container element in the customizer preview even if the header is empty. * Ensure that edit shortcut appearing for custom header does not get positioned off-screen. Props bradyvercher, westonruter. See #38639. Fixes #38737. Built from https://develop.svn.wordpress.org/trunk@39227 git-svn-id: http://core.svn.wordpress.org/trunk@39167 1a063a9b-81f0-0310-95a4-ce76da25c4cd
21 lines
346 B
PHP
21 lines
346 B
PHP
<?php
|
|
/**
|
|
* Displays header image
|
|
*
|
|
* @package WordPress
|
|
* @subpackage Twenty_Seventeen
|
|
* @since 1.0
|
|
* @version 1.0
|
|
*/
|
|
|
|
?>
|
|
<div class="custom-header">
|
|
|
|
<div class="custom-header-image">
|
|
<?php the_custom_header_markup(); ?>
|
|
</div>
|
|
|
|
<?php get_template_part( 'template-parts/header/site', 'branding' ); ?>
|
|
|
|
</div><!-- .custom-header -->
|