- Timestamp:
- 10/21/2016 10:14:26 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyseventeen/inc/template-functions.php
r38833 r38868 35 35 } 36 36 37 // Add a class if there is a featured image orcustom header.38 if ( has_header_image() || ( has_post_thumbnail() && twentyseventeen_is_frontpage() )) {37 // Add a class if there is a custom header. 38 if ( has_header_image() ) { 39 39 $classes[] = 'has-header-image'; 40 40 }
Note: See TracChangeset
for help on using the changeset viewer.