> ID ), 'twentyseventeen-featured-image' ); $ratio = 0; if ( false !== $thumbnail ) { // Calculate aspect ratio: h / w * 100%. $ratio = $thumbnail[2] / $thumbnail[1] * 100; } ?>
', '' ); ?>
"%s"', 'twentyseventeen' ), get_the_title() ) ); ?>
3, 'post_status' => 'publish', 'ignore_sticky_posts' => true, 'no_found_rows' => true, ) ); ?> have_posts() ) : ?>
have_posts() ) : $recent_posts->the_post(); get_template_part( 'template-parts/post/content', 'excerpt' ); endwhile; wp_reset_postdata(); ?>