NewUser NewUser - 5 months ago 24x
Javascript Question

Get Wordpress User Profile Url/Link by ID

I managed to show up the users Profile Images from the mainsite
in my bbpress forum with this code:

<?php $user_info = get_user_by('id', $wp_query->query_vars['author']); echo get_avatar($user_info->ID, '150'); ?>


How can i get the Users Profile URL/LINK like with the same method?

Thank you so much!


This function should help: the_author_meta( $field, $userID );

for profile link you'll need 'user_url' for the field