Forums

Socialize
Pinterest support (10 posts)

  1. alanpeto
    Member
    Posted 6 months ago #

    Would it be possible to get the Pinterest(.com) button added to the alert box? (http://pinterest.com/about/goodies/)

    It is the fastest growing website in 2011 and has lots of users.

    Thank you if you can do this, Socialize plugin is great :)

    http://wordpress.org/extend/plugins/socialize/

  2. Kristina
    Member
    Posted 5 months ago #

    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.

  3. natebird
    Member
    Posted 4 months ago #

    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.

  4. rughooker
    Member
    Posted 3 months ago #

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

  5. pka13
    Member
    Posted 3 months ago #

    Good idea !

  6. db.studios
    Member
    Posted 3 months ago #

    i vote for this too!

  7. team6
    Member
    Posted 3 months ago #

    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="http://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="http://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";
  8. Jon Bishop
    Member
    Posted 3 months ago #

    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!

  9. CreativeWP
    Member
    Posted 2 months ago #

    We need buttons for pinterest, tumblr?

  10. evanvar
    Member
    Posted 1 month ago #

    when its the next release?

Reply

You must log in to post.

About this Plugin

About this Topic

Tags