
[Problem] ACF - Flexible Field inside of Repeater Field
By: a guest on
May 5th, 2012 | syntax:
HTML | size: 0.78 KB | hits: 36 | expires: Never
<div class="item_wrap">
<div class="container">
<div class="row">
<div class="span6">
<ol class="slats">
<li class="group">
<?php while(the_flexible_field('column_1')): ?>{ <?php if(get_row_layout() == "kunde"): ?> <?php the_sub_field('name'); ?> <?php the_sub_field('detail'); ?> <?php the_sub_field('solution'); ?> <?php the_sub_field('link'); ?> <?php elseif(get_row_layout() == "partner"): ?> <?php the_sub_field('name'); ?> <?php the_sub_field('detail'); ?> <?php the_sub_field('eigenschaften'); ?> <?php endif; ?> <?php endwhile; ?>
</li>
</ol>
</div>
<div class="span3">
<img class="float_thumbnail" src="%3C?php%20echo%20the_sub_field('column_2');%20?%3E" alt="thumbnail">
</div>
</div>
</div>
</div><?php endwhile; ?><?php endif; ?>