Show subsite posts in the main site

I would like to show my subsite posts on my main site. I’m using this code

<?php $blogs = get_last_updated();

foreach ($blogs AS $blog) {


$lastposts = get_posts( array(
'post_type' => 'athlete_profile',
'post_status' => 'publish'

foreach($lastposts as $post) : ?>

<a href="<?php echo get_permalink(); ?>"><?php echo get_permalink(); ?></a></h3></br>

<?php endforeach;



When I try to show the author name echo get_author, it shows me the Super Admin name.

See the page

Can you help me with this?

Thanks in Advance.