Display Post Author Link above the loop
It make use of global variable $post to get author id of current post. Using that this function returns the author url. Note – Make sure you put this in condition ( is_single() ) so it only print author url on single.php. <?php echo get_author_posts_url( $post->post_author ); ?> Update – <?php $username = get_userdata( $post->post_author … Read more