changed who to free text in agenda last

This commit is contained in:
jorge 2024-04-19 15:52:31 +02:00
parent 72cea08e62
commit 4215736f24
1 changed files with 3 additions and 8 deletions

View File

@ -56,14 +56,9 @@
</a>
</header><!-- .entry-header -->
<section class="activity-organizer organiza-activitat">
<?php if( get_field('xxp_agenda_who') ): ?>
<?php $allwhoproposes = get_field('xxp_agenda_who'); ?>
<p class="item-xxp-agenda-who">
<?php
foreach( $allwhoproposes as $eachwhoproposes ):
echo $eachwhoproposes['label'];
endforeach;
?>
<?php if( get_field('xxp_agenda_free_text') ): ?>
<p class="item-xxp-agenda-free-text">
<?php the_field('xxp_agenda_free_text'); ?>
</p>
<?php endif; ?>
</section>