FIX Titles and accroche front page

This commit is contained in:
Gilles Van Assche 2025-09-16 11:24:47 +02:00
parent 9112b5c3a8
commit b0d46454aa

View File

@ -53,10 +53,19 @@
get_template_part("template-components/heading-box", null, array(
"pageIcon" => $pageIcon,
"title" => $currentPage->post_title ?? "",
"description" => __("Cherchez une entreprise ou un artisan", "metiers-patrimoine-theme"),
"description" => __("Cherchez une entreprise", "metiers-patrimoine-theme"),
));
?>
<section class="accroche-sectio text-center">
<?php if(ICL_LANGUAGE_CODE=='fr'): ?>
<p>Trouvez un professionnel pour rénover une ancienne menuiserie, un balcon, un vitrail, ou tout autre élément ancien qui caractérise votre bâtiment.</p>
<?php elseif(ICL_LANGUAGE_CODE=='nl'): ?>
<p>Zoek een vakman voor het renoveren van oud schrijnwerk, een balkon, een glas-in-loodraam of andere oude elementen die karakteristiek zijn voor uw gebouw.</p>
<?php endif; ?>
</section>
<section class="artisans-posts">
<?php get_template_part("template-parts/artisan-filter-sidebar", null, array("foundPosts" => $initialPosts->found_posts)); ?>