Support » Plugin: Social Sharing Toolkit » Pinterest Setting

Viewing 4 replies - 1 through 4 (of 4 total)
  • I had the same problem and has to patch the plugin code to use a higher resolution version of the thumbnail.

    open wp-content/plugins/social-sharing-toolkit/social_sharing_toolkit.php in a text editor and change line 729 to:

    if ($media = wp_get_attachment_image_src(get_post_thumbnail_id(get_the_ID()), 'full')) {

    also on wp-content/plugins/social-sharing-toolkit/includes/share.widget.php, change line 20 to:

    if ($media = wp_get_attachment_image_src(get_post_thumbnail_id(get_the_ID()), 'full')) {

    just added an extra parameter to the wp_get_attachment_image function 🙂

    Cheers

    Hello Victmo,

    What would be different in this code if I wanted to share the first image of the post instead the featured image?

    Thanks in advance.

    there are multiple occurrences of wp_get_attachment_image_src() in social-sharing-toolkit.php. be sure to apply vitcmo’s solution to the right one, located within the share() function

    Plugin Author LinksAlpha

    (@linksalpha)

    Option will be provided for this in the next release.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Pinterest Setting’ is closed to new replies.