From 9afefea23a6ce5792c22e00b3246dd27d24af1ca Mon Sep 17 00:00:00 2001 From: Antoine M Date: Wed, 6 Dec 2023 16:21:32 +0100 Subject: [PATCH] handling empty value + removing unecessary icon query --- template-components/archives/webinaire-rows.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/template-components/archives/webinaire-rows.php b/template-components/archives/webinaire-rows.php index 0c1c9a7..7f9c5dd 100644 --- a/template-components/archives/webinaire-rows.php +++ b/template-components/archives/webinaire-rows.php @@ -6,10 +6,8 @@ $videosWebinairesPosts = $args['videosWebinairesPosts']; term_id)['icon'] ?? null; $publicationDate = get_field("date", get_the_ID()); $webinaireUrl = get_field("url", get_the_ID()); - ?>
  • @@ -31,4 +29,9 @@ $videosWebinairesPosts = $args['videosWebinairesPosts'];
  • - \ No newline at end of file + + + +have_posts()) : ?> +

    + \ No newline at end of file