Social Sharing Toolkit
[resolved] Pinterest Setting (5 posts)

  1. crazyadventuresinparenting.com
    Posted 3 years ago #

    The Pinterest portion of this plug-in only uses smaller, thumbnail type of images from my posts. Is there a way to change this setting? I can't find it anywhere.


  2. victmo
    Posted 2 years ago #

    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 :)


  3. chiragahir
    Posted 2 years ago #

    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.

  4. tapefreak
    Posted 2 years ago #

    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

  5. LinksAlpha
    Plugin Author

    Posted 2 years ago #

    Option will be provided for this in the next release.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Social Sharing Toolkit
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.