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', ) ); ?>