Changeset 60418
- Timestamp:
- 07/07/2025 12:10:27 AM (7 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyseventeen/functions.php
r60159 r60418 709 709 function twentyseventeen_should_show_featured_image() { 710 710 $show_featured_image = ( is_single() || ( is_page() && ! twentyseventeen_is_frontpage() ) ) && has_post_thumbnail( get_queried_object_id() ); 711 712 /** 713 * Filters whether to show the Twenty Seventeen featured image below the header. 714 * 715 * By default, the image is displayed on single posts and pages, unless the page is the front page. 716 * 717 * @since Twenty Seventeen 3.7 718 * 719 * @param bool $show_featured_image Whether to display the featured image below the header. 720 */ 711 721 return apply_filters( 'twentyseventeen_should_show_featured_image', $show_featured_image ); 712 722 }
Note: See TracChangeset
for help on using the changeset viewer.