Home › Forums › General Issues › Data picker value in two languages › Reply To: Data picker value in two languages
<?php if (get_field('data_inizio') == get_field('data_fine')): ?>
<h5><?php the_field('data_fine'); ?></h5>
<h6><?php the_field('data_fine'); ?><h6>
<?php else: ?>
<h5><?php the_field('data_inizio'); ?> ➔ <?php the_field('data_fine'); ?></h5>
<h6><?php the_field('data_inizio'); ?> ➔ <?php the_field('data_fine'); ?></h6>
<?php endif; ?>
I’ve solved the php question. Can anyone help me with the date picker translation?
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.