[Plugin: Social Share Buttons for WordPress] Thumbnail issue
-
og:image displays default logo image instead of thumbnail
share-buttons-scripts.php
I replaced
$thumb = get_post_meta($post->ID, ‘Thumbnail’, $single = true);
with
$thumb = wp_get_attachment_image_src( get_post_thumbnail_id() );
$thumb = (string)$thumb[0];and it works proper in my case
- The topic ‘[Plugin: Social Share Buttons for WordPress] Thumbnail issue’ is closed to new replies.