FIX breadcrumb title for heading box title
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
cd5d99a45c
commit
ae3b45601a
|
|
@ -49,9 +49,10 @@
|
|||
HEADING BOX
|
||||
---------------*/ ?>
|
||||
<?php
|
||||
$currentPage = get_post();
|
||||
get_template_part("template-components/heading-box", null, array(
|
||||
"pageIcon" => $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',
|
||||
)
|
||||
); ?>
|
||||
<?php endwhile; ?>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user