This code adds the author avatar in the entry header and links the avatar image to the members profile page.
You can change the hook to change the location you want to display the avatar.
The code works in conjunction with BuddyPress and also enables you to link the members avatar to any page in BuddyPress simply by including the slug in the code.
If you want to change the link, you can simply change the value for the
Here’s the code for logged in members:
You need to pay to fully access this tutorial.
Enjoy unlimited access & coding support by registering.