I have one problem. I can't get the alt tag inside me repeater fields in ACF, I've tried multiple methods and nothing works for me, could you please help me? I can't fix this problem for a week :( Something that I've tried and it should be working was this:
<?php while( have_rows('logo_list') ) : the_row();?>
<?php $image = get_sub_field('image'); ?>
<li><img src="<?php echo $image['url']; ?>" alt="<?php echo $image['alt']; ?>"></li>
<?php endwhile;?>
And it went this result:
What am I doing wrong?
The basic code was like this:
<?php while( have_rows('logo_list') ) : the_row();?>
<li><img src="<?php echo get_sub_field('image');?>" alt></li>
<?php endwhile;?>
Images format set as Array Can you please help? I really don't know what to do :(