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
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!
2022 was a big year for Advanced Custom Fields, with more capabilities, a new generation of ACF Blocks, a refreshed UI, and a new home. Our year in review post looks at advancements we’ve made and offers a glimpse of the future.— Advanced Custom Fields (@wp_acf) January 6, 2023
© 2023 Advanced Custom Fields.