From 56984d12f2a4a2db85abfebc78d47924b92cb1bf Mon Sep 17 00:00:00 2001 From: Antoine M Date: Tue, 12 Nov 2024 10:17:51 +0100 Subject: [PATCH] modifying company members and handling company members phone gsm --- single-artisans.php | 175 ++++++++++++++++++++++++-------------------- 1 file changed, 95 insertions(+), 80 deletions(-) diff --git a/single-artisans.php b/single-artisans.php index 776271d..d4c1551 100644 --- a/single-artisans.php +++ b/single-artisans.php @@ -107,42 +107,57 @@ $pageIcon = get_field('page_icon', get_queried_object_id()) ?? null;

-
-

- - -
- -

-
-

- + +
+

+ + + + + +
+ +
+

+ + + +
+
+

+ -
-
-

-

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

+

+ posts as $chantier): ?> ID); @@ -159,68 +174,68 @@ $pageIcon = get_field('page_icon', get_queried_object_id()) ?? null;

-
- $picture) { - } - ?> - - - -
+ '; + echo do_blocks($block_content); + ?> + + + +
+ + + + + + + + + + +
+ + + + ID, 'full'); ?> + + + + + + + - - - -
- - - - - - + + ID, 'full'); ?> + + + + + + + post_title; - // write_log($nextPost); - - echo '
';
-			print_r($prevPost);
-			echo '
'; - ?> - - - - - - - - - - - - - -