How can i show a selected user/author link to it’s profile/author page. I have created a group and from there i have added field “USER”(array format). Now I want to show User/author link from blog details page.
Here is my code
<div class="fact-autorhname">
<?php $topgroup=get_field('before_post_content');?>
<?php $topgroup['select_author']; $user=$topgroup['select_author'];?>
<b>Published By:</b> <a href="<?php echo $userl['user_url']; ?>"><?php echo $user['display_name']; ?></a>
</div>