How-to and Troubleshooting
3
Posts
2
Users
0
Reactions
761
Views
May 15, 2023 1:20 pm
Hi wpDiscuz
In 'User Authorization and Profile Data', I have selected 'Enable Profiles URL' and 'Use Website URL as Profile URL'.
My author name now links through to my website URL as expected. But my author image still links through to my profile page.
How do I change the link on the author image/avatar?
Example here (second comment): https://www.technicallyproduct.co.uk/seo/why-is-google-search-console-detecting-partial-urls-for-my-wordpress-site/
Website URL
2 Replies
May 15, 2023 1:26 pm
You can use the wpdiscuz_avatar_link_attributes hook to get this work. More info here: https://wpdiscuz.com/docs/codex/filters/wpdiscuz_avatar_link_attributes/
May 15, 2023 1:58 pm
Excellent, that worked! Thanks for the amazingly quick reply 🙂