In my "About" page I list all WP users of the site. Then in author.php I display the description of the selected user with this code: <?php the_author_meta( 'description' );?>
.
Problem: this code only display user description if this user is logged, otherwise it displays nothing. Why?
Code of the "About" page:
<ul>
<?php
$blogusers = get_users('orderby=nicename&who=authors');
foreach ($blogusers as $user) {
$user_info = get_userdata( $user->ID );
?>
<li>
<a href="<?php echo get_author_posts_url($user_info->ID); ?>">
<?php echo $user_info->nickname; ?>
</a>
</li>
<?php
}
?>
</ul>
author.php
, you have not shown any of that file