Skip to main content
Monthly Archives

September 2018

ACF Snippets

Show/Hide Repeater field based on start/end date <?php if( have_rows(‘contact_hours’, 25) ): ?> <div class=”footer-hours”> <div class=”footer-hours-title”>Hours</div> <?php while ( have_rows(‘contact_hours’, 25) ) : the_row(); ?> <?php $begin_date = DateTime::createFromFormat(‘m’,…

Read More