Home Forums Front-end Issues Options page repeater field on a taxonomy template Reply To: Options page repeater field on a taxonomy template

  • Interesting it’s working on the homepage, the syntax seems like it would need to be tweaked to:

    <!-- Start homepage slider -->
    <div class="home-banner flexslider-home">
    		<ul class="slides">
    				<?php if (have_rows('video_slider', 'option')): ?>					
    					<?php while(have_rows('video_slider', 'option')): the_row(); ?>
    					<?php $image = get_sub_field('image');?>
    						<li class="home-lead-image">
    							<a href="<?php the_sub_field('link'); ?>">
    							<img class="img-responsive upsize" style="visibility: hidden;" src="<?php echo $image['url']; ?>" alt="<?php echo $image['alt']; ?>"/>
    							<img class="img-responsive parallax upsize" src="<?php echo $image['url']; ?>" alt="<?php echo $image['alt']; ?>"/>
    							<div class="container-fluid">
    								<div class="col-sm-6">
    									<h1><?php the_sub_field('text'); ?></h1>
    					<?php endwhile; ?>					
    				<?php endif; ?>		
    <div class="container-fluid">
    	<div class="banner-direction-nav">
    		<a class="prev">◀</a>
    		<a class="next">▶</a>
    <!-- End homepage slider -->