Display Author Bio in WordPress

Hello friends, in this trick I will show you how you can display the author bio, name, description, avatar, and email at the front in WordPress.

You can use the built-in WordPress function to display the author bio detail in WordPress and you can style it as you want.

Display Author Description

To display the author description, use the the_author_meta() and get_the_author_meta() function with passing the ‘description’ parameter in it.

Display Author Display Name

To display the author display name, use the the_author_meta() and get_the_author_meta() function with passing the ‘display_name’ parameter in it.

Display Author Email

To display the author email, use the the_author_meta() and get_the_author_meta() function with passing the ‘user_email’ parameter in it.

Display Author Avatar

To display the author email, use the get_avatar() function with passing the user email and size of avatar parameter in it.

Hope you like it.

Note: The function starting with the_* prefix will echo the result and the function starting with get_* will return the result.

Being Tricky 😉

Leave a Comment