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

  • Very close to what we need!! Thank you!

    we have use this

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

    and we get
    and we need to show the file name not the Download the Document!

    how can we change that to shows the file name Title?

    For example in this page we have 2 files

    1 and we must get:

    How can we do that?

    Thank you very much again