-1
global $userpro;
$user_id=get_the_author_ID(); 
echo $userpro->permalink( get_the_author_meta('ID'));
echo get_avatar( $user_id, 15 );
echo userpro_profile_data('display_name', $user_id, $profile_url);

with this code i get the user profile link and a username but i want to have the username as link to the user profile. so how i add the link to the user name?

If you have an question feel free to ask.

user54684
  • 5
  • 1

1 Answers1

0

You have the link $userpro->permalink( get_the_author_meta('ID')); and the text.

Read HTML a tag.

Berriel
  • 12,659
  • 4
  • 43
  • 67