From ae3b45601a0811098210d724b21562f14ca459f7 Mon Sep 17 00:00:00 2001 From: Nonimart Date: Mon, 1 Sep 2025 17:11:50 +0200 Subject: [PATCH] FIX breadcrumb title for heading box title --- front-page.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/front-page.php b/front-page.php index ebe07bb..d6ad7c0 100644 --- a/front-page.php +++ b/front-page.php @@ -49,9 +49,10 @@ HEADING BOX ---------------*/ ?> $pageIcon, - "title" => $currentPage->post_title, + "title" => $currentPage->post_title ?? "", "description" => __("Cherchez une entreprise ou un artisan", "metiers-patrimoine-theme"), )); ?> @@ -69,11 +70,11 @@ 'template-components/artisans/card-artisans-search', null, array( - 'card_variant' => 'activite', 'post_ID' => get_the_ID(), 'post_title' => get_the_title(), 'current_taxonomy' => "elementsbatiments", 'post_date' => $post_date, + // 'card_variant' => 'activite', ) ); ?>