How to display a user’s bio (not the author or logged in user)

You can make use of wp_get_current_user() or get_currentuserinfo() (to which wp_get_current_user() is a wrapper function to) or get_current_user_id() which uses wp_get_current_user() to get the current logged in user ID. One way or the other, you need to make sure that you have a logged in user (user ID is not 0) before trying to get … Read more