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