See my code:
$today = new DateTime( 'today', new DateTimeZone('America/Sao_Paulo') );
$date = new DateTime( get_sub_field('data') );
if( have_rows('niver') ) : while ( have_rows('niver') ) : the_row();
$name = get_sub_field('nome');
$dpto = get_sub_field('departamento');
if($today = $date){
<div class="align-center">
<h4 class="text-bold"><?php echo $name ?></h4>
<p><?php echo $dpto ?></p>
</div>
}
Hi John,
Thank you for reply.
But it’s not what I need.
Then I can hide with CSS: (acf-input.css)
.acf-postbox > .hndle:hover .acf-hndle-cog,
.acf-postbox > .hndle.hover .acf-hndle-cog {
display: none;
}
Work for me.
Cheers