From a6045b8bbb6171d4cfcaaa503aaadd8af737f385 Mon Sep 17 00:00:00 2001 From: Antoine M Date: Tue, 1 Jul 2025 16:52:14 +0200 Subject: [PATCH] FEATURE Passing special color for director --- .../acf-blocks/team-authors/team-authors.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/dynamiques-blocks/acf-blocks/team-authors/team-authors.php b/plugins/dynamiques-blocks/acf-blocks/team-authors/team-authors.php index 2ad7cdc..7639fbf 100644 --- a/plugins/dynamiques-blocks/acf-blocks/team-authors/team-authors.php +++ b/plugins/dynamiques-blocks/acf-blocks/team-authors/team-authors.php @@ -53,8 +53,10 @@ $authors = get_posts(array( $author_description = get_field('description', $author->ID); $author_email = get_field('email', $author->ID); + $is_director = $author->ID === 476 ? true : false; + ?> -
  • +
  • <?php echo $author_thumbnail['alt']; ?>