Support

Account

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

    
    <?php 
    if (have_rows('file_repeater')) {
      while (have_rows('file_repeater')) {
        the_row();
        $file = get_sub_field('file_upload');
        ?>
    	<br>
    
    		<img style="width:18px; height:10px;" src="http://www.subshunter.com/wp-content/uploads/2016/01/eng.png" /> <span>[English]</span>
    		<span><?php echo $title; ?></span>
          	
    		<a href="<?php echo $file['url']; ?>"><?php echo $file['filename']; ?></a>
    		
        <?php 
      }
    }
    
    ?>
    

    we dont know what happen wrong but with your instructions that worked like charm!! http://prntscr.com/9xcuth

    Thank you very very much again!! πŸ™‚