FEATURE Transforming repertoire into the front page — fixing breadcrumb
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
7854c22d3b
commit
bcbe865cc4
|
|
@ -26,7 +26,6 @@
|
||||||
<div class="homegrade-page-container metiers-patrimoine-page-container--repertoire-metiers">
|
<div class="homegrade-page-container metiers-patrimoine-page-container--repertoire-metiers">
|
||||||
<nav class=" breadcrumbs_navigation" aria-label="<?php echo __("Vous êtes ici", "metiers-patrimoine-theme") ?>">
|
<nav class=" breadcrumbs_navigation" aria-label="<?php echo __("Vous êtes ici", "metiers-patrimoine-theme") ?>">
|
||||||
<?php
|
<?php
|
||||||
$currentPage = get_post(get_queried_object_id());
|
|
||||||
$networkHomeUrl = network_home_url();
|
$networkHomeUrl = network_home_url();
|
||||||
|
|
||||||
$frontPageUrl = get_home_url();
|
$frontPageUrl = get_home_url();
|
||||||
|
|
@ -41,9 +40,7 @@
|
||||||
|
|
||||||
<li><a href="<?php echo $frontPageUrl ?>"><?php echo $frontPageTitle ?></a></li>
|
<li><a href="<?php echo $frontPageUrl ?>"><?php echo $frontPageTitle ?></a></li>
|
||||||
|
|
||||||
<?php if ($currentPage) : ?>
|
|
||||||
<li><a href="<?php echo get_post_permalink($currentPage->ID) ?>" aria-current="location" aria-disabled="true"><?php echo $currentPage->post_title ?></a></li>
|
|
||||||
<?php endif; ?>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
@ -67,7 +64,7 @@
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
$post_date = get_the_date('j.m.Y', $initialPosts->ID) ?? null;
|
$post_date = get_the_date('j.m.Y', $initialPosts->ID) ?? null;
|
||||||
|
|
||||||
get_template_part(
|
get_template_part(
|
||||||
'template-components/artisans/card-artisans-search',
|
'template-components/artisans/card-artisans-search',
|
||||||
null,
|
null,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user