Changeset 39227 for trunk/src/wp-content/themes/twentyseventeen/template-parts/header/header-image.php
- Timestamp:
- 11/14/2016 06:40:08 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyseventeen/template-parts/header/header-image.php
r39224 r39227 11 11 ?> 12 12 <div class="custom-header"> 13 <?php14 13 15 // Check if Custom Header image has been added.16 if ( has_custom_header() ) :17 ?>14 <div class="custom-header-image"> 15 <?php the_custom_header_markup(); ?> 16 </div> 18 17 19 <?php // Output the full custom header - video and/or image fallback. ?> 20 <div class="custom-header-image"> 21 <?php the_custom_header_markup(); ?> 22 </div> 23 <?php get_template_part( 'template-parts/header/site', 'branding' ); ?> 24 25 <?php else : ?> 26 27 <?php // Otherwise, show a blank header. ?> 28 <div class="custom-header-simple"> 29 <?php get_template_part( 'template-parts/header/site', 'branding' ); ?> 30 </div><!-- .custom-header-simple --> 31 32 <?php endif; ?> 18 <?php get_template_part( 'template-parts/header/site', 'branding' ); ?> 33 19 34 20 </div><!-- .custom-header -->
Note: See TracChangeset
for help on using the changeset viewer.