Мне нужно сначала отобразить мои первые два сообщения в двух столбцах, а остальные три в трех столбцах. Смотрите скриншот ниже:
![enter image description here](https://i.stack.imgur.com/g7GMU.jpg)
Это то, что я имею до сих пор:
<section class="cases">
<div class="container">
<h4 class="title">Cases</h4>
<?php
$args = array(
'post_type' => 'cases',
'posts_per_page' => 5,
);
$the_query = new WP_Query( $args );
if ( $the_query -> have_posts() ):
?>
<div class="row">
<?php
while ( $the_query->have_posts() ): $the_query->the_post();
$slug = get_post_field( 'post_name', get_post() );
?>
<div class="col-sm-6">
<?php the_title(); ?>
<?php the_field('case_content') ?>
<a href="#case-<?= $slug ?>" class="button">Bekijk de case</a>
</div>
<?php endwhile; wp_reset_postdata();?>
</div>
<?php endif;?>
</div>
</section>
И вот что я получаю в итоге:
![enter image description here](https://i.stack.imgur.com/xHsvH.jpg)
Как действовать отсюда?