Home Forums Add-ons Repeater Field How to make File repeater Reply To: How to make File repeater

  • Thanks you very much for you help! we used your code but something happen bad and shows error page so we used this and work

    if (have_rows('file_repeater')) {
      while (have_rows('file_repeater')) {
        $file = get_sub_field('file_upload');
    		<img style="width:18px; height:10px;" src="" /> <span>[English]</span>
    		<span><?php echo $title; ?></span>
    		<a href="<?php echo $file['url']; ?>"><?php echo $file['filename']; ?></a>

    we dont know what happen wrong but with your instructions that worked like charm!!

    Thank you very very much again!! 🙂