下記のページを参考に柔軟コンテンツを作成してみましたが、
画像表示にエラーでて正しく表示されません。
◆single.php <?php while(has_sub_field('howto_new')) : ?> <?php if(get_row_layout() == 'layout_text') : ?> <?php the_sub_field('editor'); ?> <?php elseif(get_row_layout() == 'layout_gallery') : ?> <?php the_sub_field('gallery'); ?> <?php elseif(get_row_layout() == 'layout_image_text') : ?> <?php the_sub_field('image'); ?> <?php endif; ?> <?php endwhile; ?>
ご存知の方、ご教示のほどよろしくお願いいたします。
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。