Custom author image doesn’t show in the sharing link


I am working on the author archive page. On the page, I show the custom field which is the author image. I also show all posts related to the author. When I render the addtoany on the template, I use the shortcode.

echo do_shortcode( ‘[addtoany url=”‘ . $post_author_link . ‘” title= “‘ . $post_author . ‘” media=”‘ . $author_image_url . ‘”]’ );

Image issue:
On the frontend, I can see the “data-a2a-media” property contains the author image that I set from the shortcode. However, the author’s image that shows on social (Linked and Twitter), is always from Gravatar.

Description issue:
I also have the custom field for user profile description and I would like to share this data on social as well.

Is it any way to fix this issue?



This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer