Custom author image doesn’t show in the sharing link
-
Hi,
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?
Thanks,
Apple
- The topic ‘Custom author image doesn’t show in the sharing link’ is closed to new replies.