Hero Carousel
1 ) {
if( have_rows(‘carousels’) ):
$a = 0;
$j = 1;
while( have_rows(‘carousels’) ) : the_row();
if ( $a == 0 ) { $active = ‘class=”active” aria-current=”true”‘; } else { $active = ”; }
?>
if( have_rows(‘carousels’) ):
$a = 0;
$j = 1;
while( have_rows(‘carousels’) ) : the_row();
if ( $a == 0 ) { $active = ‘class=”active” aria-current=”true”‘; } else { $active = ”; }
?>