I know that a lot of people wrote this question but I really can't fix my problem reading other posts on this forum.
I'd like to insert author infos in sidebar. Here's the code I'm using:
<?php global $posts; $author_id=$posts->post_author; $nickname='nickname'; echo the_author_meta( $nickname, $author_id ); ?>
This doesn't work properly: it display always the same author. How can I fix it? Do you have an idea?