diff --git a/single-artisans.php b/single-artisans.php index ac869ba..26ef872 100644 --- a/single-artisans.php +++ b/single-artisans.php @@ -6,61 +6,175 @@ get_header(); get_header(); $pageIcon = get_field('page_icon', get_queried_object_id()) ?? null; ?> - - -
+ ?> +
    +
  1. + "> + " alt=""> + +
  2. - + +
  3. + + +
  4. post_title ?>
  5. + + +
+ +
+ + - $pageIcon, - "title" => $currentPage->post_title, - "description" => __("En savoir plus sur nos artisans du patrimoine", "metiers-patrimoine-theme"), - )); - ?> + $pageIcon, + "title" => $currentPage->post_title, + "description" => __("En savoir plus sur nos artisans du patrimoine", "metiers-patrimoine-theme"), + )); + ?> -
+ +
+ + + +
+ +
+

+ + +

+ +
+
+

+ + + +
+ +

+
+

+ + + +
+
+

+

+ + 'chantiers', + 'posts_per_page' => -1, + 'meta_query' => array( + array( + 'key' => 'artisan', + 'value' => $post->ID, + 'compare' => 'LIKE' + ) + ) + ); + $chantiers = new WP_Query($args); + ?> + posts): ?> + posts as $chantier): ?> + ID); + $date = get_field('date', $chantier->ID); + $city = get_field('city', $chantier->ID); + + ?> +
+ +

post_title ?>

+
+

+ +
+

+
+ + + + +
+ +
+ + + + +
+ + +
+ + +