Instantly share code, notes, and snippets.

What would you like to do?
Wordpress Get Author Information In User Area
//for user profile picture
<?php echo get_avatar(get_the_author_meta('ID'), 100);?>
//for user profile Name
<a href="<?php echo get_author_posts_url( get_the_author_meta( 'ID' ), get_the_author_meta( 'user_nicename' ) ); ?>"><?php the_author(); ?></a>
//for user discription
<?php echo get_the_author_meta('description'); ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment