<div class="description">
<?php $query1 = new WP_Query (array(
'category_name' => 'рецепты',
'posts_per_page' => '1',
));
while($query1->have_posts()) : $query1->the_post(); ?>
<a href="<?php the_permalink(); ?>"><h2 class="title"><?php the_title(); ?></h2></a>
<div class="thumbnail"><?php the_post_thumbnail(); ?></div>
<?php the_excerpt() ?>
<a href="<?php the_permalink(); ?>">Читать далее</a>
<?php endwhile; ?>
<?php wp_reset_query(); ?>
<div class="recipes">
<div class="row">
<a href="<?php echo get_page_link( 29 ); ?>"><h2><?php echo get_cat_name(28);?></h2></a>
<?php $query2 = new WP_Query(array(
'category_name'=>'рецепты',
'posts_per_page'=> 3,
));
while($query2->have_posts()) : $query2->the_post(); ?>
<div class="col-md-4">
<a href="<?php the_permalink(); ?>"><?php the_post_thumbnail(); ?><h2 class="title"><?php the_title(); ?></h2></a>
</div>
<?php endwhile; ?>
<?php wp_reset_query(); ?>
</div>
</div>
<?php
$query = new WP_Query (array(
'category_name' => 'рецепты',
'posts_per_page' => '4',
));
$isFirstRow = true;
while($query->have_posts()):
$query->the_post();
if ($isFirstRow):
$isFirstRow = false;
?>
шаблон большого поста
<?php
else:
?>
шаблон маленького поста
<?php
endif;
endwhile;