при выводе Img добавляють атрибуты width and height что не много ламают вёрстку, как можно чтобы приходил оригинал изображения и не добавлялись атрибуты width and height в img
<div class="setup__slider js-setup-slick">
<?php $query = new WP_Query( 'cat=88' ); ?>
<?php if ( $query->have_posts() ) : while ( $query->have_posts() ) : $query->the_post(); ?>
<div class="setup__item" data-title="<?php the_title(); ?>">
<?php the_post_thumbnail('post_thumbnail', array( 'class' => 'setup__item-img' ))?>
</div>
<?php endwhile;
wp_reset_postdata();
else : ?>
<p><?php esc_html_e( 'Sorry, no posts matched your criteria.' ); ?></p>
<?php endif; ?>
</div>