Home › Forums › ACF PRO › ACF Datepicker within an ACF Repeater row, dates not $Post unique › Reply To: ACF Datepicker within an ACF Repeater row, dates not $Post unique
Hi @hube2,
Thanks that explains the use of false, I have done some spring cleaning. Here is the working end result.
<?php $slide_datepicker = strtotime( get_sub_field('slide_datepicker', false, false) ); ?>
<time class="home__slide__date" datetime="<?php echo date('Y-m-d', $slide_datepicker); ?>"><?php echo date('d | m | Y', $slide_datepicker); ?></time>
Thanks for the support!
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.