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!! 🙂
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.