0
ページにレンダリングされないこのコードがあります。誰が問題が何であるか知っていますか?アドバンストカスタムフィールドがワードプレスページに表示されない
<div class="b b--alt">
<div class="container">
<div class="tab-widget tab-widget--team js-tab-widget">
<?php if(have_rows('the_commusoft_story')) { ?>
<?php $i = 0; ?>
<ul class="tab-widget__list">
<?php while(have_rows('the_commusoft_story')): the_row(); ?>
<?php $i++ ?>
<li class="tab-widget__item">
<a href="#tab-panel-<?php echo $i; ?>" class="tab-widget__link">
<span class="ss-icon <?php the_sub_field('icon'); ?>"></span>
<h2><?php the_sub_field('section_title'); ?></h2>
<?php the_sub_field('section_description'); ?>
</a>
</li>
<?php endwhile; ?>
</ul>
<?php }; ?>
<?php if(have_rows('the_commusoft_story')) { ?>
<?php $i = 0; ?>
<div class="tab-widget__tabs">
<?php while(have_rows('the_commusoft_story')): the_row(); ?>
<?php $i++ ?>
<div class="tab-widget__tab-content">
<h2 id="tab-panel-<?php echo $i; ?>"><?php the_sub_field('section_title'); ?></h2>
<?php the_sub_field('content'); ?>
</div>
<?php endwhile; ?>
</div>
<?php }; ?>
</div>
</div>
</div>
SOページ上の2つのセクションでは、私は2番目のセクションとしてそれを移動しようと、それが消えたときに問題が表示され、ある...
どれに何が起こっているかのアイデア、そして間違いはありますか?
ありがとうございました
あなたはリンクを提供できますか? – user2517200