WordPress.org

Forums

WP Socializer
[resolved] Is there a way for people to select which image they want to share on Pinterest? (2 posts)

  1. rick4him
    Member
    Posted 2 years ago #

    I really like this plug in, but I'd like the person to be able to pick what image they share on pintrest...is there a way people can scroll through the various images to pick which on they want to use? Other plug in's allow this, so it's possible. Just not sure if I can do it with yours.

    Thanks so much.

    http://wordpress.org/extend/plugins/wp-socializer/

  2. vaakash
    Member
    Plugin Author

    Posted 2 years ago #

    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
    http://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','http://assets.pinterest.com/js/pinmarklet.js?r='+Math.random()*99999999);document.body.appendChild(e)})());

    Make sure it works properly.
    Thank you.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Socializer
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.