Support

Account

Forum Replies Created

  • Hi

    Many thanks for your response, I think I have it working now lease see below code is this correct?

    <?php while ( have_posts() ) : the_post(); ?>
    <?php the_field('locations' ); ?>
    <section class="section-light-grey text-center">
    	<div class="container">
    		<div class="row">
    			<?php if( have_rows('locations_repeater') ): ?>
    			<?php while ( have_rows('locations_repeater') ) : the_row(); ?>
    			<div class="col-xs-4">
    				<div class="img-home-location">
    					<a href="<?php the_sub_field('image_link'); ?>">
    						<img src="<?php the_sub_field('location_image'); ?>" alt="" class="img-responsive" />
    					</a>
    					<h3><?php the_sub_field('location_title'); ?></h3>
    				</div>
    			</div>
    			<?php endwhile; ?>
    			<?php endif; ?>
    		</div>
    	</div>	
    </section>
    
    <?php endwhile; ?>
  • Hi

    Or Do I just create a wysiwyg field, add image and link it to wordpress page?

    I hope not, their must be a simpler way?

    Thanks

  • Yes it is, would be good if you could select a template for posts as you can for pages.

    Thanks Elliott!!!!!!

Viewing 3 posts - 1 through 3 (of 3 total)