Turn avatar into link to profile in an author box
I would like to turn this line of code
<?php echo get_avatar( get_the_author_meta( 'user_email' ), 68 ); ?>
Into clickable avatar that would lead to an authors profile page.
I have tried to look this up, but any results on trying to make this work lead to page errors or linking back to the current post the author box is on.
Any help would be appreciated.
The topic ‘Turn avatar into link to profile in an author box’ is closed to new replies.