1
リピータフィールドをフロントエンドに表示すると、そのリストのすべてが最初の項目とは別に表示されます。リピータにすべてを表示したいと思います。ACFリピータがリストに最初に表示されない
<?php if(have_rows('the_list')): the_row(); ?>
<div class="row">
<?php while(have_rows('the_list')): the_row(); ?>
<div class="col-md-8">
<h6><?php the_sub_field('name') ?></h6>
<p><?php the_sub_field('number') ?></p>
</div>
<?php endwhile; ?>
</div>
<?php endif; ?>
:ここ
が更新スニペットです。 – mbacon40
@ mbacon40私はこれをプルするために使用しているコードスニペットを追加しました –
バックエンドの最初の行をチェックできますか? –