turkerturk adlı üyeden alıntı: mesajı görüntüle
<div class="col-lg-9 pt-4">
    <h1><?php echo category_description(); ?></h1>

    <?php
    // Tüm içerikleri bir diziye toplayalım
    $posts_array = array();
    while (have_posts()) {
        the_post();
        ob_start(); // Arabellek kullanarak içeriği bir değişkende toplayalım
        ?>
        <li><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a> - <?php the_field('kategori_listeleme_basligi'); ?></li>
        <?php
        $posts_array[] = ob_get_clean(); // İçeriği diziye ekleyelim
    }

    // İçeriği ikiye bölelim
    $halfway = ceil(count($posts_array) / 2);
    $left_column = array_slice($posts_array, 0, $halfway);
    $right_column = array_slice($posts_array, $halfway);
    ?>

    <?php if (have_posts()): ?>
        <table class="table table-borderless table-sm w-auto">
            <tbody>
            <tr>
                <td>
                    <ul class="mb-0">
                        <?php foreach ($left_column as $post_content): ?>
                            <?php echo $post_content; ?>
                        <?php endforeach; ?>
                    </ul>
                </td>
                <td>
                    <ul class="mb-0">
                        <?php foreach ($right_column as $post_content): ?>
                            <?php echo $post_content; ?>
                        <?php endforeach; ?>
                    </ul>
                </td>
            </tr>
            </tbody>
        </table>
    <?php else: ?>
        Content not found
    <?php endif; ?>
</div>
teşekkür ederim deniyorum hemen ama sadece kodu yazmanız pek işime yaramaz. biraz anlatırsak sevinirim yaptıklarımızı. amacım öğrenmek hazıra konmak değil.