delete adv

This commit is contained in:
argoexpert press
2024-05-06 12:02:48 +03:00
parent 4f99b398ba
commit 51d7df598b
9 changed files with 41 additions and 52 deletions

View File

@@ -21,8 +21,10 @@ $partners = new WP_Query([
$partners->the_post();
?>
<a href="<?= get_permalink(); ?>" class="partner-item">
<div class="partner-item__image-container">
<?= show_post_image(); ?>
<div>
<?if ( has_post_thumbnail() ) {
the_post_thumbnail( 'thumbnail' ); // Это выведет самую маленькую превьюшку
}?>
</div>
<div class="partner-item__text-container">
<p class="subtitle-16"><?= get_the_title(); ?></p>