diff --git a/src/wp-content/themes/twentytwentyone/inc/template-tags.php b/src/wp-content/themes/twentytwentyone/inc/template-tags.php index faa7e495da..38add801c5 100644 --- a/src/wp-content/themes/twentytwentyone/inc/template-tags.php +++ b/src/wp-content/themes/twentytwentyone/inc/template-tags.php @@ -190,8 +190,8 @@ if ( ! function_exists( 'twenty_twenty_one_post_thumbnail' ) ) {
'eager' ) ); + // Lazy-loading attributes should be skipped for thumbnails since they are immediately in the viewport. + the_post_thumbnail( 'post-thumbnail', array( 'loading' => false ) ); ?>