breadcrumb aria disabled
This commit is contained in:
parent
17ff97982e
commit
12ecf01c00
2
page.php
2
page.php
|
|
@ -30,7 +30,7 @@ $thematiqueColorSlug = $mainThematique->slug;
|
|||
<li><a href="<?php echo get_post_permalink($parentPage) ?>"><?php echo $parentPage->post_title ?></a></li>
|
||||
<?php endif; ?>
|
||||
<?php if ($currentPage) : ?>
|
||||
<li><a href="<?php echo get_post_permalink($currentPage) ?>" aria-current="location"><?php echo $currentPage->post_title ?></a></li>
|
||||
<li><a href="<?php echo get_post_permalink($currentPage) ?>" aria-current="location" aria-disabled="true"><?php echo $currentPage->post_title ?></a></li>
|
||||
<?php endif; ?>
|
||||
|
||||
</ol>
|
||||
|
|
|
|||
|
|
@ -82,7 +82,7 @@ if (!function_exists('build_share_urls')) {
|
|||
<li><a href="<?php echo get_post_permalink($mainThematiqueRelatedConseil) ?>"><?php echo $mainThematique->name ?></a></li>
|
||||
|
||||
<?php endif; ?>
|
||||
<li><a href="<?php echo the_permalink() ?>" aria-current="location"><?php echo $currentThematique->name ?></a></li>
|
||||
<li><a href="<?php echo the_permalink() ?>" aria-current="location" aria-disabled="true"><?php echo $currentThematique->name ?></a></li>
|
||||
|
||||
</ol>
|
||||
</nav>
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ $posts = new WP_Query($args);
|
|||
<img src="<?php echo get_template_directory_uri() . "/resources/img/pictogrammes/icon_house_dark.svg" ?>" alt="">
|
||||
</a>
|
||||
</li>
|
||||
<li><a href="<?php echo get_the_permalink($relatedPageTemplatePage) ?>" aria-current='location'>
|
||||
<li><a href="<?php echo get_the_permalink($relatedPageTemplatePage) ?>" aria-disabled="true" aria-current='location'>
|
||||
<?php echo __("News", "homegrade-theme__texte-fonctionnel") ?>
|
||||
</a></li>
|
||||
</ol>
|
||||
|
|
|
|||
|
|
@ -59,7 +59,7 @@ $total_posts_found = $brochuresPosts->found_posts + $fichesInfosPosts->found_pos
|
|||
<img src="<?php echo get_template_directory_uri() . "/resources/img/pictogrammes/icon_house_dark.svg" ?>" alt="">
|
||||
</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' aria-disabled="true">Publications</a></li>
|
||||
|
||||
</ol>
|
||||
</nav>
|
||||
|
|
@ -243,7 +243,7 @@ $total_posts_found = $brochuresPosts->found_posts + $fichesInfosPosts->found_pos
|
|||
|
||||
?>
|
||||
|
||||
<div id="highlighted-share-publication" class="highlighted-publication highlighted-share-publication">
|
||||
<!-- <div id="highlighted-share-publication" class="highlighted-publication highlighted-share-publication">
|
||||
<?php
|
||||
$documentThumbnail = get_field('brochure_cover_image', $highlightedDocumentDatas['document']['ID']);
|
||||
|
||||
|
|
@ -266,7 +266,7 @@ $total_posts_found = $brochuresPosts->found_posts + $fichesInfosPosts->found_pos
|
|||
</div>
|
||||
<img class="highlighted-share-publication__cover" src="<?php echo get_template_directory_uri() . '/resources/img/illustrations/homegrade_brochure-impression-domicile.svg' ?>" />
|
||||
|
||||
</div>
|
||||
</div> -->
|
||||
|
||||
|
||||
</section>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user