[Resolved] User Profile Image Link
Is it possible to help me out. I will link the User image
<?php echo get_avatar( $user->ID, 90 ); ?>
to the same link as it is at the h2 heading
<h2><a target="_blank" href="<?php echo get_author_posts_url($user->ID); ?>">.....
So if somebody clicks on the image it also get directed to the same url as the h2 heading (User Name). My own coding experiments to put the code together fail 🙂
- The topic ‘[Resolved] User Profile Image Link’ is closed to new replies.