Viewing 12 replies - 1 through 12 (of 12 total)
  • I’d like to throw in my vote for the pinterest button. It would be great to have this, and it’d be the first social plugin i’ve ever seen to include it, which is really a boon to your development/company.

    Count me in as well. My wife’s blog receives a lot of traffic from Pinterest already. it would be nice to allow them to pin new things.

    Pinterest is HUGE with my visitors. Please add this to the plug in! Cannot find any plugin with facebook and pinterest together.

    Good idea !

    i vote for this too!

    I sent the author Jon an email last week about it, and he said hes real close to releasing the next version which has pinterest.

    To hold you over, here are the code changes required to get an “inline” Pin It button into the Socialize plugin.

    In plugins/socialize/socialize-services.php

    Around line 437, add this:

    // Create Pinterest button
        function createSocializePinterest($service = "", $service_options = array(), $socialize_settings = null){
        // thumbnail url
        $thumb = wp_get_attachment_image_src( get_post_thumbnail_id(get_the_ID()), 'thumbnail' );
        $thumb_url = $thumb['0'];
    
            $buttonCode = '<a href="https://pinterest.com/pin/create/button/?url='.get_permalink().'&media='. $thumb_url . '" class="pin-it-button" count-layout="horizontal">Pin It</a><script type="text/javascript" src="https://assets.pinterest.com/js/pinit.js"></script>';
            return $buttonCode;
        }

    plugins/socialize/frontend/socialize-frontend.php

    Around line 68, add this:

    case 26:
                    return $socializeWPservices->createSocializePinterest();
                    break;

    Around Line 137, add 26 to the array like so:

    $inline_buttons_array = array(1,2,3,4,5,6,7,8,9,10,22,24,26);

    plugins/socialize/admin/socialize-admin.php

    Around line 807, add 26 to the array like so:

    $inline_buttons_array = array(1,2,3,4,5,6,7,8,9,10,22,24,26);

    Around line 842, add this:

    $service_names_array[26] = "Pinterest";

    Plugin Author Jon Bishop

    (@jonbishop)

    It’s coming. I’ve got it working in my latest version I hope to release very soon.

    I’ve got some other big changes coming I hope everyone will like!

    We need buttons for pinterest, tumblr?

    when its the next release?

    Can’t wait for the pinterest update!

    Plugin Author Jon Bishop

    (@jonbishop)

    Sorry this has taken so long. Stuff came up and it got delayed.

    This is where I’m at with the plugin now: https://github.com/jonbish/socialize

    Hoping to have a stable version ready soon.

    Plugin Author Jon Bishop

    (@jonbishop)

    Finally pushed the latest version live!

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘[Plugin: Socialize] Pinterest support’ is closed to new replies.