Compare commits

..

No commits in common. "5106c63358df898fd5bcd0d2ec072c9ea6da8a9c" and "2cd207b946cdfeb9fca837ff0d440bc2fccaddcf" have entirely different histories.

3 changed files with 9 additions and 15 deletions

View File

@ -1,10 +1,3 @@
body.post-type-chantiers,
body.post-type-artisans {
#titlediv {
@apply hidden;
}
}
.edit-post-visual-editor__post-title-wrapper {
h1 {
font-weight: revert;

View File

@ -8,6 +8,9 @@ $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") ?>">
<?php
$currentPage = get_post(get_queried_object_id());
@ -159,19 +162,14 @@ $pageIcon = get_field('page_icon', get_queried_object_id()) ?? null;
<?php
$chantier_description = get_field('description', $chantier->ID);
$date = get_field('date', $chantier->ID);
// $city = get_field('city', $chantier->ID);
$city = get_field('city', $chantier->ID)['city'] ?? null;
// write_log($city);
$city = get_field('city', $chantier->ID);
$pictures = get_field('pictures', $chantier->ID);
?>
<div class="chantier">
<h4 class="chantier__title"><?php echo $chantier->post_title ?></h4>
<div class="chantier__infos">
<?php if ($city): ?>
<p class="chantier__city"><?php echo $city ?></p>
<?php endif; ?>
<time class="chantier__date"> <?php echo $date ?></time>
</div>
<p class="chantier__description"><?php echo $chantier_description ?></p>
@ -235,6 +233,10 @@ $pageIcon = get_field('page_icon', get_queried_object_id()) ?? null;
</div>
<?php
get_template_part('template-components/conseil-patrimoine-redirector', null, array());
?>

View File

@ -16,7 +16,6 @@ $email = get_field('email', $postID);
$website = get_field('website', $postID);
$adresse = get_field('adresse', $postID);
// write_log($adresse);
?>