> " ; $imageWidth = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), "full" ); $maxWidth = $imageWidth[1]; if ($maxWidth > 1200) { $maxWidth = 1200; } echo esc_html( the_post_thumbnail( 'full', array( 'sizes' => '(max-width: '.$maxWidth.'px) 100vw, '.$maxWidth.'px', 'alt' => 'post-image', ) ) ); echo "" ; echo "
"; } } else { echo "
"; } ?>

', '

'); } else { the_excerpt('

', '

'); } echo "
"; // post tags if ( is_single() && get_theme_mod( 'display-tags-in-post', true ) ) { the_tags( '
Tags:
', ', ', '' ); } echo "
"; // post page numbers wp_link_pages( array( 'before' => '
Preview page', 'after' => ' Next Page
', ) ); ?>