updating page structure
This commit is contained in:
parent
e8e1e0a330
commit
af0d187d4c
|
|
@ -1,16 +1,12 @@
|
|||
<?php
|
||||
|
||||
/* Template Name: Repertoire des métiers */
|
||||
|
||||
?>
|
||||
<?php /* Template Name: Repertoire des métiers */ ?>
|
||||
|
||||
|
||||
<?php
|
||||
get_header();
|
||||
$pageIcon = get_field('page_icon', get_queried_object_id()) ?? null;
|
||||
|
||||
?>
|
||||
|
||||
<div class="homegrade-page-container metiers-patrimoine-page-container--repertoire-metiers">
|
||||
<nav class=" breadcrumbs_navigation" aria-label="<?php echo __("Vous êtes ici", "homegrade-theme__texte-fonctionnel") ?>">
|
||||
<?php
|
||||
$currentPage = get_post(get_queried_object_id());
|
||||
|
|
@ -26,7 +22,7 @@ $pageIcon = get_field('page_icon', get_queried_object_id()) ?? null;
|
|||
</a>
|
||||
</li>
|
||||
|
||||
<li><a href="<?php echo $frontPageUrl ?>" aria-current="location" aria-disabled="true"><?php echo $frontPageTitle ?></a></li>
|
||||
<li><a href="<?php echo $frontPageUrl ?>"><?php echo $frontPageTitle ?></a></li>
|
||||
|
||||
|
||||
<?php if ($currentPage) : ?>
|
||||
|
|
@ -35,7 +31,6 @@ $pageIcon = get_field('page_icon', get_queried_object_id()) ?? null;
|
|||
|
||||
</ol>
|
||||
</nav>
|
||||
<div class="homegrade-page-container homegrade-page-container--metiers-patrimoine">
|
||||
|
||||
<?php /* --------
|
||||
HEADING BOX
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user