File: /home/frenchy/refonte2023/wordpress/wp-content/plugins/ova-events/templates/loop/author_event.php
<?php if ( !defined( 'ABSPATH' ) ) exit();
if ( isset( $args['id'] ) ) {
$id = $args['id'];
} else {
$id = get_the_id();
}
global $post;
$author_id = $post->post_author;
?>
<div class="author">
<i class="fas fa-user-circle icon_event" aria-hidden="true"></i>
<a href="<?php echo get_author_posts_url( $author_id ); ?>" aria-label="<?php echo esc_attr__( 'Author Event', 'ovaev' );?>">
<?php the_author_meta( 'display_name', $author_id ); ?>
</a>
</div>