Home › Forums › Front-end Issues › Delete ACF repeater field entry from backend after date expiry › Reply To: Delete ACF repeater field entry from backend after date expiry
Thanks John.
I forgot to mention that I am not so good when it comes to coding. Any chance you can give me a woring example.
Below is the code I am using to display the fields.
?php
if( have_rows('sub_seminars') ):
while( have_rows('sub_seminars') ) : the_row();
?>
<tr>
<td style="border: 1px solid #ddd; width: 165px;"><h6><?php the_sub_field('start_date'); ?></h6></td>
<td style="border: 1px solid #ddd; width: 165px;"><h6><?php the_sub_field('end_date'); ?></h6></td>
</tr>
<?php
endwhile;
endif;
?>
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.