I am looking to use the author.php template to display information about each user.
I am running a loop to get users but when I click through I cant seem to grab any information relating to that user?
<?php
$members = get_users();
foreach ( $members as $member ) { ?>
<a href="<?php echo get_author_posts_url($member->ID); ?>">View User</a>
<?php } ?>
How can I retrieve the firstname etc in the author.php file? For some reason it wont pull through to display anything. Thanks