fixing webinaire cta urls
This commit is contained in:
parent
1bd9842c53
commit
3d5fca4d90
|
|
@ -8,7 +8,7 @@ $videosWebinairesPosts = $args['videosWebinairesPosts'];
|
||||||
$mainThematique = getParentThematique($thematique) ?? null;
|
$mainThematique = getParentThematique($thematique) ?? null;
|
||||||
$mainThematiqueIcon = get_field('taxonomy_pictures', "thematiques_" . $rootThematic->term_id)['icon'] ?? null;
|
$mainThematiqueIcon = get_field('taxonomy_pictures', "thematiques_" . $rootThematic->term_id)['icon'] ?? null;
|
||||||
$publicationDate = get_field("date", get_the_ID());
|
$publicationDate = get_field("date", get_the_ID());
|
||||||
|
$webinaireUrl = get_field("url", get_the_ID());
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<li class="publications-grid__row publications-grid--webinaires__row">
|
<li class="publications-grid__row publications-grid--webinaires__row">
|
||||||
|
|
@ -26,7 +26,7 @@ $videosWebinairesPosts = $args['videosWebinairesPosts'];
|
||||||
|
|
||||||
|
|
||||||
<div class="publications-grid__button">
|
<div class="publications-grid__button">
|
||||||
<a href="<?php echo $videoData['url'] ?>" class=" cta cta--secondary cta--button" target="_blank"><?php echo __("Voir la vidéo", "homegrade-theme__texte-fonctionnel__publications-archive-brochures") ?></a>
|
<a href="<?php echo $webinaireUrl ?>" class=" cta cta--secondary cta--button" target="_blank"><?php echo __("Voir la vidéo", "homegrade-theme__texte-fonctionnel__publications-archive-brochures") ?></a>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user