Changeset 38985 for trunk/src/wp-content/themes/twentyseventeen/template-parts/header/header-image.php
- Timestamp:
- 10/27/2016 09:50:56 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyseventeen/template-parts/header/header-image.php
r38875 r38985 15 15 16 16 // Check if Custom Header image has been added. 17 if ( ! empty( $header_image ) ) : ?> 17 if ( has_custom_header() ) : 18 ?> 18 19 19 <div class="custom-header-image" style="background-image: url(<?php echo esc_url( $header_image ); ?>)"></div> 20 <?php // Output the full custom header - video and/or image fallback. ?> 21 <div class="custom-header-image"> 22 <?php the_custom_header_markup(); ?> 23 </div> 20 24 <?php get_template_part( 'template-parts/header/site', 'branding' ); ?> 21 25 22 26 <?php else : ?> 27 23 28 <?php // Otherwise, show a blank header. ?> 24 29 <div class="custom-header-simple">
Note: See TracChangeset
for help on using the changeset viewer.