Compare commits
3 Commits
2cd207b946
...
5106c63358
| Author | SHA1 | Date | |
|---|---|---|---|
| 5106c63358 | |||
| a463fc5fd1 | |||
| 32a824d51d |
|
|
@ -1,3 +1,10 @@
|
||||||
|
body.post-type-chantiers,
|
||||||
|
body.post-type-artisans {
|
||||||
|
#titlediv {
|
||||||
|
@apply hidden;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.edit-post-visual-editor__post-title-wrapper {
|
.edit-post-visual-editor__post-title-wrapper {
|
||||||
h1 {
|
h1 {
|
||||||
font-weight: revert;
|
font-weight: revert;
|
||||||
|
|
|
||||||
|
|
@ -8,9 +8,6 @@ $pageIcon = get_field('page_icon', get_queried_object_id()) ?? null;
|
||||||
?>
|
?>
|
||||||
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
|
<?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", "homegrade-theme__texte-fonctionnel") ?>">
|
||||||
<?php
|
<?php
|
||||||
$currentPage = get_post(get_queried_object_id());
|
$currentPage = get_post(get_queried_object_id());
|
||||||
|
|
@ -162,14 +159,19 @@ $pageIcon = get_field('page_icon', get_queried_object_id()) ?? null;
|
||||||
<?php
|
<?php
|
||||||
$chantier_description = get_field('description', $chantier->ID);
|
$chantier_description = get_field('description', $chantier->ID);
|
||||||
$date = get_field('date', $chantier->ID);
|
$date = get_field('date', $chantier->ID);
|
||||||
$city = get_field('city', $chantier->ID);
|
// $city = get_field('city', $chantier->ID);
|
||||||
|
$city = get_field('city', $chantier->ID)['city'] ?? null;
|
||||||
|
|
||||||
|
// write_log($city);
|
||||||
$pictures = get_field('pictures', $chantier->ID);
|
$pictures = get_field('pictures', $chantier->ID);
|
||||||
?>
|
?>
|
||||||
<div class="chantier">
|
<div class="chantier">
|
||||||
|
|
||||||
<h4 class="chantier__title"><?php echo $chantier->post_title ?></h4>
|
<h4 class="chantier__title"><?php echo $chantier->post_title ?></h4>
|
||||||
<div class="chantier__infos">
|
<div class="chantier__infos">
|
||||||
<p class="chantier__city"><?php echo $city ?></p>
|
<?php if ($city): ?>
|
||||||
|
<p class="chantier__city"><?php echo $city ?></p>
|
||||||
|
<?php endif; ?>
|
||||||
<time class="chantier__date"> <?php echo $date ?></time>
|
<time class="chantier__date"> <?php echo $date ?></time>
|
||||||
</div>
|
</div>
|
||||||
<p class="chantier__description"><?php echo $chantier_description ?></p>
|
<p class="chantier__description"><?php echo $chantier_description ?></p>
|
||||||
|
|
@ -233,10 +235,6 @@ $pageIcon = get_field('page_icon', get_queried_object_id()) ?? null;
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
get_template_part('template-components/conseil-patrimoine-redirector', null, array());
|
get_template_part('template-components/conseil-patrimoine-redirector', null, array());
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -16,6 +16,7 @@ $email = get_field('email', $postID);
|
||||||
$website = get_field('website', $postID);
|
$website = get_field('website', $postID);
|
||||||
|
|
||||||
$adresse = get_field('adresse', $postID);
|
$adresse = get_field('adresse', $postID);
|
||||||
|
// write_log($adresse);
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user