pierrebalian of Rocket55 Web Team
5/26/2017 - 2:46 PM

ACF Link Plugin Usage Example (in repeater)

ACF Link Plugin Usage Example (in repeater)

<!--start button item repeater-->
				<?php 

				// loop through rows (sub repeater)
				while( have_rows('tib_buttons') ): the_row(); ?>

                <?php $tib_buttons = get_sub_field('tib_button'); ?>
				
					<?php if( $tib_buttons['url'] ): ?>	
					<a href="<?php echo $tib_buttons['url'] ?>" class="btn btn-warning hidden-xs ripple-effect"><?php echo $tib_buttons['title'] ?></a>
				<?php endif; ?>

				<!--end looping through sub repeater-->
			<?php endwhile; ?>