updating icon alt + updating publication date field
This commit is contained in:
parent
bec7f2e75d
commit
d83746dc69
|
|
@ -6,12 +6,13 @@ $videosWebinairesPosts = $args['videosWebinairesPosts'];
|
||||||
<?php
|
<?php
|
||||||
$thematique = get_the_terms(get_the_ID(), 'thematiques')[0] ?? null;
|
$thematique = get_the_terms(get_the_ID(), 'thematiques')[0] ?? null;
|
||||||
$mainThematique = getParentThematique($thematique) ?? null;
|
$mainThematique = getParentThematique($thematique) ?? null;
|
||||||
$publicationDate = get_field("date", get_the_ID());
|
$publicationDate = get_field("video_publication_date", get_the_ID());
|
||||||
$webinaireUrl = get_field("url", 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">
|
||||||
|
|
||||||
<img class="publications-grid__video-thumbnail" src="<?php echo the_post_thumbnail_url() ?>" />
|
<img class="publications-grid__video-thumbnail" src="<?php echo the_post_thumbnail_url() ?>" alt="" />
|
||||||
|
|
||||||
<h2 class="publications-grid__title"><?php echo get_the_title() ?></h2>
|
<h2 class="publications-grid__title"><?php echo get_the_title() ?></h2>
|
||||||
<?php if ($mainThematique) : ?>
|
<?php if ($mainThematique) : ?>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user