updating breacrumb nagivation aria-label title
This commit is contained in:
parent
b9a6aa59c9
commit
b30a449f50
|
|
@ -2,7 +2,7 @@
|
||||||
get_header();
|
get_header();
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<nav class="breadcrumbs_navigation" aria-label="breadcrumbs">
|
<nav class="breadcrumbs_navigation" aria-label="<?php echo __("Vous êtes ici", "homegrade-theme__texte-fonctionnel") ?>">
|
||||||
<ol>
|
<ol>
|
||||||
<li><a href="<?php echo home_url() ?>">Home</a></li>
|
<li><a href="<?php echo home_url() ?>">Home</a></li>
|
||||||
<li><a href="<?php echo get_post_type_archive_link('brochures') ?>" aria-current='location'>Publications</a></li>
|
<li><a href="<?php echo get_post_type_archive_link('brochures') ?>" aria-current='location'>Publications</a></li>
|
||||||
|
|
|
||||||
2
page.php
2
page.php
|
|
@ -10,7 +10,7 @@ $thematiqueColorSlug = $mainThematique->slug;
|
||||||
|
|
||||||
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
|
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
|
||||||
|
|
||||||
<nav class=" breadcrumbs_navigation" aria-label="breadcrumbs">
|
<nav class=" breadcrumbs_navigation" aria-label="<?php echo __("Vous êtes ici", "homegrade-theme__texte-fonctionnel") ?>">
|
||||||
<?php
|
<?php
|
||||||
$currentPage = get_post();
|
$currentPage = get_post();
|
||||||
$parentPage = $currentPage->post_parent !== 0 ? get_post($currentPage->post_parent) : null;
|
$parentPage = $currentPage->post_parent !== 0 ? get_post($currentPage->post_parent) : null;
|
||||||
|
|
|
||||||
|
|
@ -53,7 +53,7 @@ if (!function_exists('build_share_urls')) {
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<div class="post-conseil-page-container <?php echo $thematiqueColorSlug ? "post-conseil-page--" . $thematiqueColorSlug : "" ?>">
|
<div class="post-conseil-page-container <?php echo $thematiqueColorSlug ? "post-conseil-page--" . $thematiqueColorSlug : "" ?>">
|
||||||
<nav class=" breadcrumbs_navigation" aria-label="breadcrumbs">
|
<nav class=" breadcrumbs_navigation" aria-label="<?php echo __("Vous êtes ici", "homegrade-theme__texte-fonctionnel") ?>">
|
||||||
<?php
|
<?php
|
||||||
$archiveConseils = get_page_by_template('template-archive-conseils.php')[0];
|
$archiveConseils = get_page_by_template('template-archive-conseils.php')[0];
|
||||||
?>
|
?>
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@ $relatedPageTemplatePage = get_pages($args) ? get_pages($args)[0] : null;
|
||||||
<?php /* --------
|
<?php /* --------
|
||||||
BREADCRUMB
|
BREADCRUMB
|
||||||
---------------*/ ?>
|
---------------*/ ?>
|
||||||
<nav class="breadcrumbs_navigation" aria-label="breadcrumbs">
|
<nav class="breadcrumbs_navigation" aria-label="<?php echo __("Vous êtes ici", "homegrade-theme__texte-fonctionnel") ?>">
|
||||||
<ol>
|
<ol>
|
||||||
<li>
|
<li>
|
||||||
<a href="<?php echo home_url() ?>" title="<?php echo __("Accueil", "homegrade-theme__texte-fonctionnel") ?>">
|
<a href="<?php echo home_url() ?>" title="<?php echo __("Accueil", "homegrade-theme__texte-fonctionnel") ?>">
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ $relatedPageTemplatePage = get_pages($args) ? get_pages($args)[0] : null;
|
||||||
<?php /* --------
|
<?php /* --------
|
||||||
BREADCRUMB
|
BREADCRUMB
|
||||||
---------------*/ ?>
|
---------------*/ ?>
|
||||||
<nav class="breadcrumbs_navigation" aria-label="breadcrumbs">
|
<nav class="breadcrumbs_navigation" aria-label="<?php echo __("Vous êtes ici", "homegrade-theme__texte-fonctionnel") ?>">
|
||||||
<ol>
|
<ol>
|
||||||
<li>
|
<li>
|
||||||
<a href="<?php echo home_url() ?>" title="<?php echo __("Accueil", "homegrade-theme__texte-fonctionnel") ?>">
|
<a href="<?php echo home_url() ?>" title="<?php echo __("Accueil", "homegrade-theme__texte-fonctionnel") ?>">
|
||||||
|
|
|
||||||
|
|
@ -39,7 +39,7 @@ $relatedTaxQuestions = new WP_Query($query_args);
|
||||||
|
|
||||||
|
|
||||||
<div class="taxonomy-question-page-container <?php echo $thematiqueColorSlug ? "taxonomy-question-page--" . $mainThematique->slug : "" ?>"" data-thematique-id=" <?php echo $currentThematique->term_id ?>">
|
<div class="taxonomy-question-page-container <?php echo $thematiqueColorSlug ? "taxonomy-question-page--" . $mainThematique->slug : "" ?>"" data-thematique-id=" <?php echo $currentThematique->term_id ?>">
|
||||||
<nav class="breadcrumbs_navigation" aria-label="breadcrumbs">
|
<nav class="breadcrumbs_navigation" aria-label="<?php echo __("Vous êtes ici", "homegrade-theme__texte-fonctionnel") ?>">
|
||||||
<?php
|
<?php
|
||||||
$current_children_thematique = get_queried_object()->parent != 0 ? get_queried_object() : null;
|
$current_children_thematique = get_queried_object()->parent != 0 ? get_queried_object() : null;
|
||||||
$archiveQuestions = get_page_by_template('template-archive-questions.php')[0];
|
$archiveQuestions = get_page_by_template('template-archive-questions.php')[0];
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ $page_icon = get_field('page_icon', get_queried_object());
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<div class="homegrade-page-container homegrade-page-container--archive-conseils">
|
<div class="homegrade-page-container homegrade-page-container--archive-conseils">
|
||||||
<nav class="breadcrumbs_navigation" aria-label="breadcrumbs">
|
<nav class="breadcrumbs_navigation" aria-label="<?php echo __("Vous êtes ici", "homegrade-theme__texte-fonctionnel") ?>">
|
||||||
<ol>
|
<ol>
|
||||||
<li>
|
<li>
|
||||||
<a href="<?php echo home_url() ?>" title="<?php echo __("Accueil", "homegrade-theme__texte-fonctionnel") ?>">
|
<a href="<?php echo home_url() ?>" title="<?php echo __("Accueil", "homegrade-theme__texte-fonctionnel") ?>">
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ $thematiqueColorSlug = $mainThematique->slug;
|
||||||
|
|
||||||
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
|
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
|
||||||
|
|
||||||
<nav class=" breadcrumbs_navigation" aria-label="breadcrumbs">
|
<nav class=" breadcrumbs_navigation" aria-label="<?php echo __("Vous êtes ici", "homegrade-theme__texte-fonctionnel") ?>">
|
||||||
<?php
|
<?php
|
||||||
$currentPage = get_post();
|
$currentPage = get_post();
|
||||||
$parentPage = $currentPage->post_parent !== 0 ? get_post($currentPage->post_parent) : null;
|
$parentPage = $currentPage->post_parent !== 0 ? get_post($currentPage->post_parent) : null;
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ $posts = new WP_Query($args);
|
||||||
<?php /* --------
|
<?php /* --------
|
||||||
BREADCRUMB
|
BREADCRUMB
|
||||||
---------------*/ ?>
|
---------------*/ ?>
|
||||||
<nav class="breadcrumbs_navigation" aria-label="breadcrumbs">
|
<nav class="breadcrumbs_navigation" aria-label="<?php echo __("Vous êtes ici", "homegrade-theme__texte-fonctionnel") ?>">
|
||||||
<ol>
|
<ol>
|
||||||
<li>
|
<li>
|
||||||
<a href="<?php echo home_url() ?>" title="<?php echo __("Accueil", "homegrade-theme__texte-fonctionnel") ?>">
|
<a href="<?php echo home_url() ?>" title="<?php echo __("Accueil", "homegrade-theme__texte-fonctionnel") ?>">
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ $page_icon = get_field('page_icon', get_queried_object());
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<div class="homegrade-page-container homegrade-page-container--archive-faq">
|
<div class="homegrade-page-container homegrade-page-container--archive-faq">
|
||||||
<nav class="breadcrumbs_navigation" aria-label="breadcrumbs">
|
<nav class="breadcrumbs_navigation" aria-label="<?php echo __("Vous êtes ici", "homegrade-theme__texte-fonctionnel") ?>">
|
||||||
<ol>
|
<ol>
|
||||||
<li>
|
<li>
|
||||||
<a href="<?php echo home_url() ?>" title="<?php echo __("Accueil", "homegrade-theme__texte-fonctionnel") ?>">
|
<a href="<?php echo home_url() ?>" title="<?php echo __("Accueil", "homegrade-theme__texte-fonctionnel") ?>">
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,7 @@ $thematiqueColorSlug = $mainThematique->slug;
|
||||||
$childrenPages = get_children($args);
|
$childrenPages = get_children($args);
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<nav class=" breadcrumbs_navigation" aria-label="breadcrumbs">
|
<nav class=" breadcrumbs_navigation" aria-label="<?php echo __("Vous êtes ici", "homegrade-theme__texte-fonctionnel") ?>">
|
||||||
<ol>
|
<ol>
|
||||||
<li>
|
<li>
|
||||||
<a href="<?php echo home_url() ?>" title="<?php echo __("Accueil", "homegrade-theme__texte-fonctionnel") ?>">
|
<a href="<?php echo home_url() ?>" title="<?php echo __("Accueil", "homegrade-theme__texte-fonctionnel") ?>">
|
||||||
|
|
|
||||||
|
|
@ -71,7 +71,7 @@ $total_posts_found = $brochuresPosts->found_posts + $fichesInfosPosts->found_pos
|
||||||
<?php /* ------------
|
<?php /* ------------
|
||||||
BREADCRUMB
|
BREADCRUMB
|
||||||
-----------------*/ ?>
|
-----------------*/ ?>
|
||||||
<nav class=" breadcrumbs_navigation" aria-label="breadcrumbs">
|
<nav class=" breadcrumbs_navigation" aria-label="<?php echo __("Vous êtes ici", "homegrade-theme__texte-fonctionnel") ?>">
|
||||||
<ol>
|
<ol>
|
||||||
<li>
|
<li>
|
||||||
<a href="<?php echo home_url() ?>" title="<?php echo __("Accueil", "homegrade-theme__texte-fonctionnel") ?>">
|
<a href="<?php echo home_url() ?>" title="<?php echo __("Accueil", "homegrade-theme__texte-fonctionnel") ?>">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user