Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Support
//the_repeater_field + the_sub_field
if(get_field('tab')): ?>
<ul>
<?php while(the_repeater_field('tab')): ?>
<li><?php the_sub_field('tab_name'); ?></li>
<li><img src="<?php the_sub_field('tab_thumb'); ?>" width="150" height="100"></li>
<li><?php the_sub_field('tab_content'); ?></li>
<?php endwhile; ?>
</ul>
<?php endif; ?>
<div class="clear"></div>
//the_repeater_field + the_sub_field
if(get_field('tab')): ?>
<!-- a encloser div for each tabset. -->
<div class="wp-tabs smoothness jqui-styles wpui-tabs-vertical wpui-no-background">
<?php
// Repeat this for each tab.
while(the_repeater_field('tab')): ?>
<h3 class="wp-tab-title"><img src="<?php the_sub_field('tab_thumb'); ?>" width="150" height="100"><?php the_sub_field('tab_name'); ?></h3>
<div class="wp-tab-content"><?php the_sub_field('tab_content'); ?></div>
<?php endwhile; ?>
</div><!-- end .wp-tabs -->
<?php endif; ?>
<div class="clear"></div>
It looks like you're new here. If you want to get involved, click one of these buttons!