this must be very easy but i can't find a good solution. I tried this code but the authors-URL-path is not correct (this works maybe on a single.php page):
<ul> <?php $coauthors = get_coauthors(); ?> <?php foreach( $coauthors as $coauthor ): ?> <li><a href="<?php echo get_author_posts_url( $coauthor->ID ); ?>"> <?php echo $coauthor->display_name; ?> </a></li> <?php endforeach; ?> </ul>
All i want it to display an unordered list with ALL authors from my site on every page in the sidebar!
Thanks and cheers,