diff --git a/template-parts/components/posts/post-header.php b/template-parts/components/posts/post-header.php index 85191ae..4ea9648 100644 --- a/template-parts/components/posts/post-header.php +++ b/template-parts/components/posts/post-header.php @@ -5,7 +5,12 @@ $post_id = get_the_ID(); $postTitle = get_the_title($post_id); $hasNumerotation = hasPostTypeNumerotation($post_id); $hasThumbnail = has_post_thumbnail(); + $authors = get_field('authors', $ID); +$has_main_author = get_field('has_main_author', $ID); +$main_author = get_field('main_author', $ID); + + $post_date_info_label = $args['post_date_info_label'] ?? 'Parution'; $thumbnail_position = $args['thumbnail_position'] ?? 'left'; $has_thumbnail_overlay = $args['has_thumbnail_overlay'] ?? false; @@ -45,8 +50,13 @@ $has_thumbnail_overlay = $args['has_thumbnail_overlay'] ?? false; )); ?>

- 0) : ?> - + + + + post_title; ?> + + 0) : ?> + post_title; ?>