From 2ac170e79c87e30de848ea57b6769ef6c6ec21de Mon Sep 17 00:00:00 2001 From: Antoine M Date: Wed, 6 Dec 2023 16:24:25 +0100 Subject: [PATCH] handling empty value + removing unecessary icon query --- template-components/archives/brochure-rows.php | 2 -- template-components/archives/fiche-info-rows.php | 6 +++++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/template-components/archives/brochure-rows.php b/template-components/archives/brochure-rows.php index 0dfb82e..8d2c151 100644 --- a/template-components/archives/brochure-rows.php +++ b/template-components/archives/brochure-rows.php @@ -2,12 +2,10 @@ // NEEDS TO BE A QUERY POST OBJECT $brochuresPosts = $args['brochuresPosts']; ?> - have_posts()) : while ($brochuresPosts->have_posts()) : $brochuresPosts->the_post(); ?> - \ No newline at end of file + + +have_posts()) : ?> +

+ \ No newline at end of file