Viewing 1 replies (of 1 total)
  • Plugin Author vaakash

    (@vaakash)

    WP Socializer takes the “first image” attached to the current post for the pinterest sharing. This cannot be changed.

    The method which you are saying is not applicalble to the “Pin it” button. But this can be implemented in “Social bookmarking button”

    This works only in the single posts and pages.

    – Open wp-socializer.php
    – Find and replace
    https://www.pinterest.com/pin/create/button/?url={url}&media={image}&description={excerpt}
    with
    javascript:void((function(){var e=document.createElement('script');e.setAttribute('type','text/javascript');e.setAttribute('charset','UTF-8');e.setAttribute('src','https://assets.pinterest.com/js/pinmarklet.js?r='+Math.random()*99999999);document.body.appendChild(e)})());

    Make sure it works properly.
    Thank you.

Viewing 1 replies (of 1 total)
  • The topic ‘Is there a way for people to select which image they want to share on Pinterest?’ is closed to new replies.