fixing translations namespace
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
907a0eebde
commit
99485faa0c
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
|
||||
|
||||
<nav class=" breadcrumbs_navigation" aria-label="<?php echo __("Vous êtes ici", "homegrade-theme__texte-fonctionnel") ?>">
|
||||
<nav class=" breadcrumbs_navigation" aria-label="<?php echo __("Vous êtes ici", "metiers-patrimoine-theme") ?>">
|
||||
<?php
|
||||
$currentPage = get_post();
|
||||
$parentPage = $currentPage->post_parent !== 0 ? get_post($currentPage->post_parent) : null;
|
||||
|
|
@ -13,7 +13,7 @@
|
|||
?>
|
||||
<ol>
|
||||
<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", "metiers-patrimoine-theme") ?>">
|
||||
<img src="<?php echo get_template_directory_uri() . "/resources/img/pictogrammes/icon_house_dark.svg" ?>" alt="">
|
||||
</a>
|
||||
</li>
|
||||
|
|
|
|||
4
page.php
4
page.php
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
|
||||
|
||||
<nav class=" breadcrumbs_navigation" aria-label="<?php echo __("Vous êtes ici", "homegrade-theme__texte-fonctionnel") ?>">
|
||||
<nav class=" breadcrumbs_navigation" aria-label="<?php echo __("Vous êtes ici", "metiers-patrimoine-theme") ?>">
|
||||
<?php
|
||||
$currentPage = get_post();
|
||||
$parentPage = $currentPage->post_parent !== 0 ? get_post($currentPage->post_parent) : null;
|
||||
|
|
@ -15,7 +15,7 @@
|
|||
?>
|
||||
<ol>
|
||||
<li>
|
||||
<a href="<?php echo $networkHomeUrl ?>" title="<?php echo __("Accueil", "homegrade-theme__texte-fonctionnel") ?>">
|
||||
<a href="<?php echo $networkHomeUrl ?>" title="<?php echo __("Accueil", "metiers-patrimoine-theme") ?>">
|
||||
<img src="<?php echo get_template_directory_uri() . "/resources/img/pictogrammes/icon_house_dark.svg" ?>" alt="">
|
||||
</a>
|
||||
</li>
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ $pageIcon = get_field('page_icon', get_queried_object_id()) ?? null;
|
|||
?>
|
||||
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
|
||||
|
||||
<nav class=" breadcrumbs_navigation" aria-label="<?php echo __("Vous êtes ici", "homegrade-theme__texte-fonctionnel") ?>">
|
||||
<nav class=" breadcrumbs_navigation" aria-label="<?php echo __("Vous êtes ici", "metiers-patrimoine-theme") ?>">
|
||||
<?php
|
||||
$currentPage = get_post(get_queried_object_id());
|
||||
$networkHomeUrl = network_home_url();
|
||||
|
|
@ -28,7 +28,7 @@ $pageIcon = get_field('page_icon', get_queried_object_id()) ?? null;
|
|||
?>
|
||||
<ol>
|
||||
<li>
|
||||
<a href="<?php echo $networkHomeUrl ?>" title="<?php echo __("Accueil", "homegrade-theme__texte-fonctionnel") ?>">
|
||||
<a href="<?php echo $networkHomeUrl ?>" title="<?php echo __("Accueil", "metiers-patrimoine-theme") ?>">
|
||||
<img src="<?php echo get_template_directory_uri() . "/resources/img/pictogrammes/icon_house_dark.svg" ?>" alt="">
|
||||
</a>
|
||||
</li>
|
||||
|
|
@ -199,7 +199,7 @@ $pageIcon = get_field('page_icon', get_queried_object_id()) ?? null;
|
|||
<a class="previous-next-posts__next previous-next-artisans__next" href="<?php echo get_the_permalink($nextPost->ID) ?>">
|
||||
|
||||
<div class="previous-next-posts__link-content previous-next-artisan__link-content">
|
||||
<p class="link-subtitle"><?php echo __("Entreprise suivante ", "homegrade-theme__texte-fonctionnel") ?></p>
|
||||
<p class="link-subtitle"><?php echo __("Entreprise suivante ", "metiers-patrimoine-theme") ?></p>
|
||||
<p class="link-title"><?php echo $nextPost->post_title ?></p>
|
||||
</div>
|
||||
<?php if ($nextPostcover): ?>
|
||||
|
|
@ -215,7 +215,7 @@ $pageIcon = get_field('page_icon', get_queried_object_id()) ?? null;
|
|||
<img class="previous-next-posts__post-thumbnail" src="<?php echo $prevPostcover ?>" alt="">
|
||||
<?php endif; ?>
|
||||
<div class="previous-next-posts__link-content previous-next-artisan__link-content">
|
||||
<p class="link-subtitle"><?php echo __("Entreprise précédente ", "homegrade-theme__texte-fonctionnel") ?></p>
|
||||
<p class="link-subtitle"><?php echo __("Entreprise précédente ", "metiers-patrimoine-theme") ?></p>
|
||||
<p class="link-title"><?php echo $prevPost->post_title ?></p>
|
||||
</div>
|
||||
</a>
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ $initialPosts = new WP_Query([
|
|||
?>
|
||||
|
||||
<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") ?>">
|
||||
<nav class=" breadcrumbs_navigation" aria-label="<?php echo __("Vous êtes ici", "metiers-patrimoine-theme") ?>">
|
||||
<?php
|
||||
$currentPage = get_post(get_queried_object_id());
|
||||
$networkHomeUrl = network_home_url();
|
||||
|
|
@ -25,7 +25,7 @@ $initialPosts = new WP_Query([
|
|||
?>
|
||||
<ol>
|
||||
<li>
|
||||
<a href="<?php echo $networkHomeUrl ?>" title="<?php echo __("Accueil", "homegrade-theme__texte-fonctionnel") ?>">
|
||||
<a href="<?php echo $networkHomeUrl ?>" title="<?php echo __("Accueil", "metiers-patrimoine-theme") ?>">
|
||||
<img src="<?php echo get_template_directory_uri() . "/resources/img/pictogrammes/icon_house_dark.svg" ?>" alt="">
|
||||
</a>
|
||||
</li>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user