Support

Account

Home Forums Add-ons Gallery Field Skip first image of ACF Gallery in Repeater Field Reply To: Skip first image of ACF Gallery in Repeater Field

  • Hi,

    i used:

                        <?php $images = get_sub_field('portfolio_referenz_galerie_content');
                           if( $images ): ?>	
                           
    					        <?php 
    					          for($i=1; $i<count($images) && $i<100; $i++) {
    					            $image = $images[$i];
    					            ?>                       			
    				
    						<img src="<?php echo $image['url']; ?>" alt="" class="carousel-cell-img " />
    				
    				            <?php 
    				          }
    				        ?>