FIX Optional Date with escape if in case no date
This commit is contained in:
parent
a8a33fea19
commit
dd3361682f
|
|
@ -167,7 +167,9 @@ $pageIcon = get_field('page_icon', get_queried_object_id()) ?? null;
|
|||
<?php if ($city): ?>
|
||||
<p class="chantier__city"><?php echo $city ?></p>
|
||||
<?php endif; ?>
|
||||
<time class="chantier__date"> <?php echo $date ?></time>
|
||||
<?php if ($date): ?>
|
||||
<time class="chantier__date"> <?php echo $date ?></time>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<p class="chantier__description"><?php echo $chantier_description ?></p>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user